diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-10 17:22:59 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-10 17:22:59 +0000 |
commit | 21f05243b0f5ad7536345fc58200d8b113374fc7 (patch) | |
tree | 01c66c8f59a0c9f092706c0b7e93df70030c026e /sci-physics | |
parent | Respect LDFLAGS; Use QA_PREBUILT wrt bug #451772 (diff) | |
download | gentoo-2-21f05243b0f5ad7536345fc58200d8b113374fc7.tar.gz gentoo-2-21f05243b0f5ad7536345fc58200d8b113374fc7.tar.bz2 gentoo-2-21f05243b0f5ad7536345fc58200d8b113374fc7.zip |
Import the right ebuild this time
(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/geant-data/ChangeLog | 6 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.9.6_p02.ebuild | 16 |
2 files changed, 19 insertions, 3 deletions
diff --git a/sci-physics/geant-data/ChangeLog b/sci-physics/geant-data/ChangeLog index 1ac469384306..d0591daa55c5 100644 --- a/sci-physics/geant-data/ChangeLog +++ b/sci-physics/geant-data/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-physics/geant-data # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.1 2013/06/10 16:34:20 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.2 2013/06/10 17:22:59 bicatali Exp $ + + 10 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> + geant-data-4.9.6_p02.ebuild: + Import the right ebuild this time *geant-data-4.9.6_p02 (10 Jun 2013) diff --git a/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild b/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild index e0b0a6010251..6cdb7d948f65 100644 --- a/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild +++ b/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild,v 1.1 2013/06/10 16:34:20 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/geant-data-4.9.6_p02.ebuild,v 1.2 2013/06/10 17:22:59 bicatali Exp $ EAPI=5 @@ -35,12 +35,24 @@ DEPEND="${RDEPEND}" S="${WORKDIR}" -src_install() { +src_unpack() { + # unpack in destination only to avoid copy + return +} + +prout() { for d in ${GEANT4_DATA}; do local p=${d/.} doins -r *${p/G4} done +} + +src_install() { sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EROOT%/}/usr\2,p" \ "${EROOT}/usr/bin/geant4.sh" > 99geant-data doenvd 99geant-data + local g4dir=/usr/$(sed -n 's|.*/\(share/Geant4.*/data\).*|\1|p' "${EROOT}/usr/bin/geant4.sh" | tail -n 1) + dodir ${g4dir} + cd "${ED}${g4dir}" + unpack ${A} } |