diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:36:03 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:36:03 +0000 |
commit | 96c3bf4d4bb14e45de75fba597265783debd126e (patch) | |
tree | 5a5921c85f7d30e7ae972f4baf8f7753070b9513 | |
parent | and x86 (diff) | |
download | gentoo-2-96c3bf4d4bb14e45de75fba597265783debd126e.tar.gz gentoo-2-96c3bf4d4bb14e45de75fba597265783debd126e.tar.bz2 gentoo-2-96c3bf4d4bb14e45de75fba597265783debd126e.zip |
Initial import.
(Portage version: 2.1.2.12)
-rw-r--r-- | sci-physics/cernlib-montecarlo/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/cernlib-montecarlo/Manifest | 17 | ||||
-rw-r--r-- | sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild | 73 | ||||
-rw-r--r-- | sci-physics/cernlib-montecarlo/files/digest-cernlib-montecarlo-2006 | 6 | ||||
-rw-r--r-- | sci-physics/cernlib-montecarlo/metadata.xml | 12 |
5 files changed, 118 insertions, 0 deletions
diff --git a/sci-physics/cernlib-montecarlo/ChangeLog b/sci-physics/cernlib-montecarlo/ChangeLog new file mode 100644 index 000000000000..246664bce9ca --- /dev/null +++ b/sci-physics/cernlib-montecarlo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/cernlib-montecarlo +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/cernlib-montecarlo/ChangeLog,v 1.1 2007/08/24 21:36:03 bicatali Exp $ + +*cernlib-montecarlo-2006 (24 Aug 2007) + + 24 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +cernlib-montecarlo-2006.ebuild: + Initial import. + diff --git a/sci-physics/cernlib-montecarlo/Manifest b/sci-physics/cernlib-montecarlo/Manifest new file mode 100644 index 000000000000..acbcad7a22d9 --- /dev/null +++ b/sci-physics/cernlib-montecarlo/Manifest @@ -0,0 +1,17 @@ +DIST mclibs_2006.dfsg.2-1.diff.gz 35476 RMD160 ab74f1a53c13aac8b7dd106911c74b7528f3efd4 SHA1 dd52a0c04ff20d5dcbb41f33735e9496ecff99c3 SHA256 9b323f66d089ddc4a115dca4856234ff8bd27cf19c8dff25a1265f0a26ddbfc6 +DIST mclibs_2006.dfsg.2.orig.tar.gz 7406559 RMD160 116bc443dafc299d66d0e83080c1b3b5b34d41b9 SHA1 4c86439750f0b0824bf2f58cf9f2dab810be5293 SHA256 8e73ccb987cb8f930ed44eac807d4f8fd5b03d6926b2f8d62ffb6b31806acf73 +EBUILD cernlib-montecarlo-2006.ebuild 1737 RMD160 d17c8ad2889e8273173ca257575bf0d03b2dc3ab SHA1 7f0ad5594205ff443aa52746adce9c6a47f9563b SHA256 89788cc2953d08436418ea85b094f749a7b9201868519a664dd95507062d8b56 +MD5 b10809eda7c917c5c9c62e575f37b7bd cernlib-montecarlo-2006.ebuild 1737 +RMD160 d17c8ad2889e8273173ca257575bf0d03b2dc3ab cernlib-montecarlo-2006.ebuild 1737 +SHA256 89788cc2953d08436418ea85b094f749a7b9201868519a664dd95507062d8b56 cernlib-montecarlo-2006.ebuild 1737 +MISC ChangeLog 295 RMD160 4aee5219b75369c7501728b935f1c116b49a9c1c SHA1 00fc891c2a36b427e3bb89fdfec76d8edbd2e46f SHA256 65b7dc754fa232adea65d401035c8dd22b91c087a9390fb5c805de42059fee78 +MD5 a465a8a9f7dd299745d3860a18951b4b ChangeLog 295 +RMD160 4aee5219b75369c7501728b935f1c116b49a9c1c ChangeLog 295 +SHA256 65b7dc754fa232adea65d401035c8dd22b91c087a9390fb5c805de42059fee78 ChangeLog 295 +MISC metadata.xml 511 RMD160 292b53b5aa2511f561421a3496654c0bcdc75722 SHA1 8ed8a0ba384d9ba31bf50502d0101affca64f65d SHA256 60ad6466f80909bbb23d2a84fb177d2866a50efb0136553ba8d002d33f8c3dbf +MD5 e27ccc1d3326f6c17c3a7ebe96d1a878 metadata.xml 511 +RMD160 292b53b5aa2511f561421a3496654c0bcdc75722 metadata.xml 511 +SHA256 60ad6466f80909bbb23d2a84fb177d2866a50efb0136553ba8d002d33f8c3dbf metadata.xml 511 +MD5 f8affb2b7f1e8977b72db27e20d64144 files/digest-cernlib-montecarlo-2006 536 +RMD160 26f50f6e616233a1d2407deec70e3986a660a3dd files/digest-cernlib-montecarlo-2006 536 +SHA256 00cc1d1c5c56c0bb98f454a02cc5d2f98e4b344945fe99901de2f024c560cf0c files/digest-cernlib-montecarlo-2006 536 diff --git a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild new file mode 100644 index 000000000000..3dd18328b1bc --- /dev/null +++ b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild,v 1.1 2007/08/24 21:36:03 bicatali Exp $ + +inherit eutils multilib fortran + +DEB_PN=mclibs +DEB_PV=${PV}.dfsg.2 +DEB_PR=1 +DEB_P=${DEB_PN}_${DEB_PV} + +DESCRIPTION="Monte-carlo library and tools for the cernlib" +HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/cernlib" +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" + +DEPEND="${RDEPEND} + virtual/tetex + x11-misc/imake + x11-misc/makedepend" + +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" + +FORTRAN="gfortran g77 ifc" + +src_unpack() { + unpack ${A} + epatch "${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} ${nostrip}" \ + 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 copyright || die "dodoc failed" + newdoc add-ons/README README.add-ons || die "newdoc failed" +} diff --git a/sci-physics/cernlib-montecarlo/files/digest-cernlib-montecarlo-2006 b/sci-physics/cernlib-montecarlo/files/digest-cernlib-montecarlo-2006 new file mode 100644 index 000000000000..94404b369cf5 --- /dev/null +++ b/sci-physics/cernlib-montecarlo/files/digest-cernlib-montecarlo-2006 @@ -0,0 +1,6 @@ +MD5 3978b81499f205062b540aa58bb79193 mclibs_2006.dfsg.2-1.diff.gz 35476 +RMD160 ab74f1a53c13aac8b7dd106911c74b7528f3efd4 mclibs_2006.dfsg.2-1.diff.gz 35476 +SHA256 9b323f66d089ddc4a115dca4856234ff8bd27cf19c8dff25a1265f0a26ddbfc6 mclibs_2006.dfsg.2-1.diff.gz 35476 +MD5 140bde921ffa94b06bda51b57f609f36 mclibs_2006.dfsg.2.orig.tar.gz 7406559 +RMD160 116bc443dafc299d66d0e83080c1b3b5b34d41b9 mclibs_2006.dfsg.2.orig.tar.gz 7406559 +SHA256 8e73ccb987cb8f930ed44eac807d4f8fd5b03d6926b2f8d62ffb6b31806acf73 mclibs_2006.dfsg.2.orig.tar.gz 7406559 diff --git a/sci-physics/cernlib-montecarlo/metadata.xml b/sci-physics/cernlib-montecarlo/metadata.xml new file mode 100644 index 000000000000..1ce24154637e --- /dev/null +++ b/sci-physics/cernlib-montecarlo/metadata.xml @@ -0,0 +1,12 @@ +<?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"> +This metapackage provides various Monte Carlo libraries included in +Cernlib (both shared and static). Likely only physicists will be +interested in these packages. +The libraries of Ariadne, Fritiof, Jetset, Lepto, and Pythia are not +available for Gentoo: see cernlib Debian packaging for explanation. +</longdescription> +</pkgmetadata> |