diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:43:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:43:26 +0000 |
commit | 6ae719d0e9cd698d8959836459b80642202c32d9 (patch) | |
tree | 2bee08ebd0db72ad808859d7683f167721067ac6 /sci-physics | |
parent | Fix for bug #190017 (diff) | |
download | gentoo-2-6ae719d0e9cd698d8959836459b80642202c32d9.tar.gz gentoo-2-6ae719d0e9cd698d8959836459b80642202c32d9.tar.bz2 gentoo-2-6ae719d0e9cd698d8959836459b80642202c32d9.zip |
Initial import
(Portage version: 2.1.2.12)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/geant/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/geant/Manifest | 17 | ||||
-rw-r--r-- | sci-physics/geant/files/digest-geant-3.21.14 | 6 | ||||
-rw-r--r-- | sci-physics/geant/geant-3.21.14.ebuild | 77 | ||||
-rw-r--r-- | sci-physics/geant/metadata.xml | 13 |
5 files changed, 123 insertions, 0 deletions
diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog new file mode 100644 index 000000000000..2cf149244d09 --- /dev/null +++ b/sci-physics/geant/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/geant +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.1 2007/08/24 21:43:26 bicatali Exp $ + +*geant-3.21.14 (24 Aug 2007) + + 24 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +geant-3.21.14.ebuild: + Initial import. + diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest new file mode 100644 index 000000000000..47da2900ddae --- /dev/null +++ b/sci-physics/geant/Manifest @@ -0,0 +1,17 @@ +DIST geant321_3.21.14.dfsg-5.diff.gz 37195 RMD160 85db68636ace72f37bebe31e578665d98b976f29 SHA1 58bc1552b7bd540c6682365bc3c43498a2522bd7 SHA256 54332e4c4a657dbe7951e749df3423fd183b48a37364ee420e3c660814f4197d +DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 RMD160 253b35bd9cda82c2213ec042274f7e6ff6b9e333 SHA1 ae6f39ccc18eacd576a3493992db5da3b3d3b128 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 +EBUILD geant-3.21.14.ebuild 1824 RMD160 131b94f0dd23d8ddc990fe302955ab95b2d87df9 SHA1 e19bce9cbf904a8aa003d2c988d0cde4667b897b SHA256 134222e70e63d67de4b825a563056c32c171250c185c01f0b8ceb07775f6d69e +MD5 b7448caf755c7a1b7fed76d7f9a73556 geant-3.21.14.ebuild 1824 +RMD160 131b94f0dd23d8ddc990fe302955ab95b2d87df9 geant-3.21.14.ebuild 1824 +SHA256 134222e70e63d67de4b825a563056c32c171250c185c01f0b8ceb07775f6d69e geant-3.21.14.ebuild 1824 +MISC ChangeLog 262 RMD160 2af6090a0c8fcef0d7b4d0f483bd17b8e0c52f3f SHA1 be4713d77eec75eb977ecadf0d8fd345efda96b4 SHA256 53a14a2fff3586708a12fa3bcc459d216190f2fc04da3d481f28d48374d9e774 +MD5 6c4e5f0ee67245e54f6ea666d07594a6 ChangeLog 262 +RMD160 2af6090a0c8fcef0d7b4d0f483bd17b8e0c52f3f ChangeLog 262 +SHA256 53a14a2fff3586708a12fa3bcc459d216190f2fc04da3d481f28d48374d9e774 ChangeLog 262 +MISC metadata.xml 555 RMD160 a2023a5e29ced0c470a5d05dbf3ab554f30f5ea8 SHA1 56c441ebf6791e2f3309bf685ab25540680d0937 SHA256 fd010851cb7a2b58eecec4d1fed7cb6701aba960496e8224be545b3cc1f38ffe +MD5 08556b4639a7cd6609f2a5869d8514b5 metadata.xml 555 +RMD160 a2023a5e29ced0c470a5d05dbf3ab554f30f5ea8 metadata.xml 555 +SHA256 fd010851cb7a2b58eecec4d1fed7cb6701aba960496e8224be545b3cc1f38ffe metadata.xml 555 +MD5 984d76935abc981511d12857c44831c8 files/digest-geant-3.21.14 557 +RMD160 b9ae342001dfc1ebf5888e019c0a6c873bedf323 files/digest-geant-3.21.14 557 +SHA256 340489333127bd5697f82f5a825251f87b6754a359fd5f2379e57913d54fa098 files/digest-geant-3.21.14 557 diff --git a/sci-physics/geant/files/digest-geant-3.21.14 b/sci-physics/geant/files/digest-geant-3.21.14 new file mode 100644 index 000000000000..f496e7925b74 --- /dev/null +++ b/sci-physics/geant/files/digest-geant-3.21.14 @@ -0,0 +1,6 @@ +MD5 c3133b7a5885bd1ee7e47d4f4e76beca geant321_3.21.14.dfsg-5.diff.gz 37195 +RMD160 85db68636ace72f37bebe31e578665d98b976f29 geant321_3.21.14.dfsg-5.diff.gz 37195 +SHA256 54332e4c4a657dbe7951e749df3423fd183b48a37364ee420e3c660814f4197d geant321_3.21.14.dfsg-5.diff.gz 37195 +MD5 8d98936888404f11f6854345495d1891 geant321_3.21.14.dfsg.orig.tar.gz 10922928 +RMD160 253b35bd9cda82c2213ec042274f7e6ff6b9e333 geant321_3.21.14.dfsg.orig.tar.gz 10922928 +SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 geant321_3.21.14.dfsg.orig.tar.gz 10922928 diff --git a/sci-physics/geant/geant-3.21.14.ebuild b/sci-physics/geant/geant-3.21.14.ebuild new file mode 100644 index 000000000000..111627e17245 --- /dev/null +++ b/sci-physics/geant/geant-3.21.14.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14.ebuild,v 1.1 2007/08/24 21:43:26 bicatali Exp $ + +DEB_PN=geant321 +DEB_PV=${PV}.dfsg +DEB_PR=5 +DEB_P=${DEB_PN}_${DEB_PV} + +inherit eutils multilib fortran + +DESCRIPTION="CERN's detector description and simulation Tool" +HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/index.html" + +LICENSE="GPL-2 LGPL-2 BSD" +SRC_URI="mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND="virtual/motif + virtual/lapack + dev-lang/cfortran + sci-physics/cernlib + sci-physics/paw" + +DEPEND="${RDEPEND} + virtual/tetex + x11-misc/imake + x11-misc/makedepend" + +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" + +KEYWORDS="~amd64 ~x86" + +FORTRAN="gfortran g77 ifc" + +src_unpack() { + unpack ${A} + epatch ${DEB_P}-${DEB_PR}.diff + rm -f ${DEB_P}-${DEB_PR}.diff + cd "${S}" + cp debian/add-ons/Makefile . + sed -i \ + -e 's:/usr/local:/usr:g' \ + Makefile || "sed'ing the Makefile failed" + + einfo "Applying Debian patches" + emake -j1 \ + DEB_BUILD_OPTIONS="${FORTRANC} ${restrict}" \ + patch || die "make patch failed" + + # since we depend on cfortran, do not use the one from cernlib + # (adapted from debian/cernlib-debian.mk) + mv -f src/include/cfortran/cfortran.h \ + src/include/cfortran/cfortran.h.disabled + # create local LaTeX cache directory + mkdir -p .texmf-var +} + +src_compile() { + emake -j1 \ + DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \ + || die "emake failed" +} + +src_install() { + emake \ + DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \ + DESTDIR="${D}" \ + install || die "emake install failed" + cd "${S}"/debian + dodoc changelog README.* deadpool.txt NEWS copyright || die "dodoc failed" + newdoc add-ons/README README.add-ons || die "newdoc failed" +} diff --git a/sci-physics/geant/metadata.xml b/sci-physics/geant/metadata.xml new file mode 100644 index 000000000000..54e13262758b --- /dev/null +++ b/sci-physics/geant/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-physics</herd> +<longdescription lang="en"> +Geant simulates the passage of subatomic particles through matter, for +instance, particle detectors. For maximum flexibility, Geant +simulations are performed by linking Fortran code supplied by the user +with the Geant libraries, then running the resulting executable. + +This package includes gxint, the script used to perform this linking step. +</longdescription> +</pkgmetadata> |