aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-04-05 09:14:45 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-04-05 09:14:45 +0000
commiteb7f0da5e2f9482c4ed457796d776345b27eb64a (patch)
tree809f7e78cacd1db9c02fe4d2ae47ec5b616d52d8 /sci-physics
parentadded cernlib eclass (diff)
downloadsci-eb7f0da5e2f9482c4ed457796d776345b27eb64a.tar.gz
sci-eb7f0da5e2f9482c4ed457796d776345b27eb64a.tar.bz2
sci-eb7f0da5e2f9482c4ed457796d776345b27eb64a.zip
cernlib now uses the cernlib.eclass
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@547 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/cernlib-montecarlo/Manifest16
-rw-r--r--sci-physics/cernlib-montecarlo/cernlib-montecarlo-2005-r1.ebuild2
-rw-r--r--sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild47
-rw-r--r--sci-physics/cernlib/Manifest16
-rw-r--r--sci-physics/cernlib/cernlib-2005-r1.ebuild2
-rw-r--r--sci-physics/cernlib/cernlib-2006.ebuild69
-rw-r--r--sci-physics/geant/Manifest15
-rw-r--r--sci-physics/geant/files/digest-geant-3.21.14-r26
-rw-r--r--sci-physics/geant/geant-3.21.14-r1.ebuild23
-rw-r--r--sci-physics/geant/geant-3.21.14-r2.ebuild22
-rw-r--r--sci-physics/paw/Manifest8
-rw-r--r--sci-physics/paw/paw-2.14.04-r2.ebuild50
12 files changed, 86 insertions, 190 deletions
diff --git a/sci-physics/cernlib-montecarlo/Manifest b/sci-physics/cernlib-montecarlo/Manifest
index 9f1f1b82a..770dd8492 100644
--- a/sci-physics/cernlib-montecarlo/Manifest
+++ b/sci-physics/cernlib-montecarlo/Manifest
@@ -2,14 +2,14 @@ DIST mclibs_2005.dfsg-2.diff.gz 34196 RMD160 1accd033972860469d2a99cf90950247e38
DIST mclibs_2005.dfsg.orig.tar.gz 7405943 RMD160 570a2b22e97dbbb822fc2ca90a31c822c79e0e88 SHA1 a3cfadb08b872ab7533ebe3cd645a816f4d331b8 SHA256 f226ab973940684bf282738597a56f77a469cbb4d9889f101304ad13b1dc82e2
DIST mclibs_2006.dfsg-1.diff.gz 33960 RMD160 5dea8ceb55f5cc16b8dc0722b73b85e09a1e3556 SHA1 1d764f95923430da872db44ef696d04cc91ae12d SHA256 994196912beb09095dd706a4a4697c40319d7f8fbf1ab7efa1fde8596eabc252
DIST mclibs_2006.dfsg.orig.tar.gz 7406650 RMD160 f8e14a7af596b1db04ed11a607e878e3e14e1729 SHA1 b034ca8ff21af50f84799024ba07fc9efc88d4fc SHA256 17e6ab7f089052cce9ceb6ca165da4657b7a32e42c2139443e85ce21dbe062c2
-EBUILD cernlib-montecarlo-2005-r1.ebuild 1164 RMD160 705963fd2e977822bcbaf92fad16d3c6604f942f SHA1 c6e1a0fa09f7d8c54ec6eb2cca25af6c3d55809a SHA256 725fb17edf2f71edbdb770318e6ab18714f719b593f7b869629eee278fbf322c
-MD5 10411ad66b21502d2914f3833eaa431b cernlib-montecarlo-2005-r1.ebuild 1164
-RMD160 705963fd2e977822bcbaf92fad16d3c6604f942f cernlib-montecarlo-2005-r1.ebuild 1164
-SHA256 725fb17edf2f71edbdb770318e6ab18714f719b593f7b869629eee278fbf322c cernlib-montecarlo-2005-r1.ebuild 1164
-EBUILD cernlib-montecarlo-2006.ebuild 1335 RMD160 49495d6dee91a80d186836cd2d8da20699a48be5 SHA1 93fce857e04261120d9f1fc026633dd38534bcb5 SHA256 dfe84c7bd237b9ad9e9142592b57d1a47b3da9002353de8cd79e368b7c66547b
-MD5 7ba2fd251ec247762ba23a949dc5eb7c cernlib-montecarlo-2006.ebuild 1335
-RMD160 49495d6dee91a80d186836cd2d8da20699a48be5 cernlib-montecarlo-2006.ebuild 1335
-SHA256 dfe84c7bd237b9ad9e9142592b57d1a47b3da9002353de8cd79e368b7c66547b cernlib-montecarlo-2006.ebuild 1335
+EBUILD cernlib-montecarlo-2005-r1.ebuild 1120 RMD160 48716900a51e60b9bada9741586e56caec3cab1c SHA1 491b4ab484fd7405eae8be7ef83c4a8e541f9cb3 SHA256 9a3a84f897d80688741b20f6171f7363457a763527aa478b58b4da784f570497
+MD5 6d4a0b906f2274e69bd504cfe475b757 cernlib-montecarlo-2005-r1.ebuild 1120
+RMD160 48716900a51e60b9bada9741586e56caec3cab1c cernlib-montecarlo-2005-r1.ebuild 1120
+SHA256 9a3a84f897d80688741b20f6171f7363457a763527aa478b58b4da784f570497 cernlib-montecarlo-2005-r1.ebuild 1120
+EBUILD cernlib-montecarlo-2006.ebuild 210 RMD160 55bf46812c9ed1ffb4c58ab71cc1c4f4a7c13fdd SHA1 79384ec063af0faf7ac8606ec98590d7991e394b SHA256 c6e673669286e5b940d752340f7cd8928f904cb8f81ae79f856d2ac24039950b
+MD5 c5fe5886e87aa9c2803199d7a6660a14 cernlib-montecarlo-2006.ebuild 210
+RMD160 55bf46812c9ed1ffb4c58ab71cc1c4f4a7c13fdd cernlib-montecarlo-2006.ebuild 210
+SHA256 c6e673669286e5b940d752340f7cd8928f904cb8f81ae79f856d2ac24039950b cernlib-montecarlo-2006.ebuild 210
MISC ChangeLog 623 RMD160 45c89b76830768284a24283eb5796f22bae9bf5b SHA1 bd20f1bb6c30261e449c77f53cf3a88d5f1d88b9 SHA256 05e51d09b7825fe18c7c5352d3a09ca85472921ba1d8b95ebbed4fec039d068a
MD5 7e57bd56e7d7d9fd3f3dc795e74ef43f ChangeLog 623
RMD160 45c89b76830768284a24283eb5796f22bae9bf5b ChangeLog 623
diff --git a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2005-r1.ebuild b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2005-r1.ebuild
index d307486ca..46a535449 100644
--- a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2005-r1.ebuild
+++ b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2005-r1.ebuild
@@ -8,7 +8,7 @@ DEB_PN="mclibs"
DEB_PV="${PV}.dfsg"
DEB_PR="2"
-DESCRIPTION="CERN program library for High Energy Physics"
+DESCRIPTION=""
HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/cernlib"
LICENSE="GPL-2 LGPL-2"
SRC_URI="mirror://debian/pool/main/m/${DEB_PN}/${DEB_PN}_${DEB_PV}.orig.tar.gz
diff --git a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild
index ac4245abc..6d99f3992 100644
--- a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild
+++ b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006.ebuild
@@ -2,52 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils multilib fortran
-
DEB_PN="mclibs"
-DEB_PV="${PV}.dfsg"
DEB_PR="1"
-DESCRIPTION="cernlib monte-carlo libraries"
-HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/cernlib"
-LICENSE="GPL-2 LGPL-2"
-SRC_URI="mirror://debian/pool/main/m/${DEB_PN}/${DEB_PN}_${DEB_PV}.orig.tar.gz
- mirror://debian/pool/main/m/${DEB_PN}/${DEB_PN}_${DEB_PV}-${DEB_PR}.diff.gz"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-DEPEND=">=sci-physics/cernlib-2006"
-
-S=${WORKDIR}/${DEB_PN}_${DEB_PV}.orig
-
-FORTRAN="gfortran g77 ifc"
-
-src_unpack() {
- fortran_src_unpack ${A}
- cd "${WORKDIR}"
+inherit cernlib
- # apply the big debian patch
- epatch ${DEB_PN}_${DEB_PV}-${DEB_PR}.diff || die "epatch failed"
- mv ${DEB_PN}-${PV}.dfsg/debian "${S}"/
-
- cd "${S}"
- cp debian/add-ons/Makefile .
- sed -i \
- -e "s:/usr/local:/usr:g" \
- Makefile || die "sed failed"
- einfo "Applying Debian patches"
- make \
- DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- patch &> /dev/null || die "make patch failed"
-}
-
-src_compile() {
- emake -j1 DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- cd "${S}"/debian
- dodoc changelog README.* deadpool.txt copyright
- newdoc add-ons/README README.add-ons
-}
+DESCRIPTION="cernlib monte-carlo libraries"
diff --git a/sci-physics/cernlib/Manifest b/sci-physics/cernlib/Manifest
index f7fce20d7..708232337 100644
--- a/sci-physics/cernlib/Manifest
+++ b/sci-physics/cernlib/Manifest
@@ -2,14 +2,14 @@ DIST cernlib_2005.dfsg-5.diff.gz 165656 RMD160 b18bcafe23b58ada7a68c6bd57b32cfa7
DIST cernlib_2005.dfsg.orig.tar.gz 6630738 RMD160 d1ae8cb2edb23c9e78fd621a04397b8986e6edc9 SHA1 d2f230ad45234123b269e4a855770a9814a1fff1 SHA256 67c5736312efec4969c22f071bbb1ba8f913baf2ba9a67b31a6972bd62960757
DIST cernlib_2006.dfsg-1.diff.gz 164071 RMD160 2e3817e010399391d42a18aaa459211ef8056c26 SHA1 331a89c4ff1e438ab67da40aa5f8880f78a71914 SHA256 3f2bba276d1a9217dce1d9a08720152b145d44c295f994a5db01bc660f936c23
DIST cernlib_2006.dfsg.orig.tar.gz 6152921 RMD160 349474eebc2e37c43ed552f0069bcafc2b13ba18 SHA1 3bf2f7d5a34c9fb7d629a08edb669b8714bc6249 SHA256 2e960ce2e85e50ebc476f2f1860a23a3a796537372b20a7b85e8f772d7611b22
-EBUILD cernlib-2005-r1.ebuild 2340 RMD160 2f81f9b0d5b2ee1884a9a255c86dc5ee8f31c819 SHA1 0b8ef688c73c698520ff88ed832e5534c912bd1a SHA256 61621e47d371a36d818de4f7ac7edd9843ad304c6750d518a2c35892d1ad77fd
-MD5 220620746ca5a52348f279810afa79a0 cernlib-2005-r1.ebuild 2340
-RMD160 2f81f9b0d5b2ee1884a9a255c86dc5ee8f31c819 cernlib-2005-r1.ebuild 2340
-SHA256 61621e47d371a36d818de4f7ac7edd9843ad304c6750d518a2c35892d1ad77fd cernlib-2005-r1.ebuild 2340
-EBUILD cernlib-2006.ebuild 2656 RMD160 5337d9e302a138f3ced69267636a58b182c19525 SHA1 8fa0d4acaadcfda2dd398dad6561b85e75bead86 SHA256 96040541fbdc84788b540edb1facb3b4debcfa571f9ed826b2a09bb3267c730f
-MD5 ce64ead2e99b47e8f7839acd86316e90 cernlib-2006.ebuild 2656
-RMD160 5337d9e302a138f3ced69267636a58b182c19525 cernlib-2006.ebuild 2656
-SHA256 96040541fbdc84788b540edb1facb3b4debcfa571f9ed826b2a09bb3267c730f cernlib-2006.ebuild 2656
+EBUILD cernlib-2005-r1.ebuild 2340 RMD160 cb564376c4e212c361edebb177a9ff8465111001 SHA1 f89379f45a3c5d858325ff2dad995e161363636c SHA256 e65214ee728a9f1c34e8e5c8fc3b90b120abebfd7879761f3a062acfee9b9045
+MD5 d6e01028fa9b9771bd4ea5865214ab5a cernlib-2005-r1.ebuild 2340
+RMD160 cb564376c4e212c361edebb177a9ff8465111001 cernlib-2005-r1.ebuild 2340
+SHA256 e65214ee728a9f1c34e8e5c8fc3b90b120abebfd7879761f3a062acfee9b9045 cernlib-2005-r1.ebuild 2340
+EBUILD cernlib-2006.ebuild 1064 RMD160 0ca578ffe2d1c3d267f8a2ce9d85d9264466720b SHA1 0d4d0d8eb0f8a68f25cd4d8ecdadb22dfafb1453 SHA256 df92b0fea7560f10e439bf2310e828242e3f3caacd0c76148f6a7db7f0056939
+MD5 3aa93a675e09440395220031b4080f9d cernlib-2006.ebuild 1064
+RMD160 0ca578ffe2d1c3d267f8a2ce9d85d9264466720b cernlib-2006.ebuild 1064
+SHA256 df92b0fea7560f10e439bf2310e828242e3f3caacd0c76148f6a7db7f0056939 cernlib-2006.ebuild 1064
MISC ChangeLog 593 RMD160 6525fe9be805fd75cef3ca5ce982e1897e9229b6 SHA1 65e28efc3edeb7d4f6c294288a0c8d33b7e26657 SHA256 53c535a410d39397c8c67b389debf6d3a070223d8d3859463775e064f174027b
MD5 9d0a413b6877eb33afae41d9376b91be ChangeLog 593
RMD160 6525fe9be805fd75cef3ca5ce982e1897e9229b6 ChangeLog 593
diff --git a/sci-physics/cernlib/cernlib-2005-r1.ebuild b/sci-physics/cernlib/cernlib-2005-r1.ebuild
index 39bfc6a09..6b25e4add 100644
--- a/sci-physics/cernlib/cernlib-2005-r1.ebuild
+++ b/sci-physics/cernlib/cernlib-2005-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
diff --git a/sci-physics/cernlib/cernlib-2006.ebuild b/sci-physics/cernlib/cernlib-2006.ebuild
index 769510489..fb310bbf4 100644
--- a/sci-physics/cernlib/cernlib-2006.ebuild
+++ b/sci-physics/cernlib/cernlib-2006.ebuild
@@ -2,43 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils multilib fortran
+inherit cernlib
-DEB_PV="${PV}.dfsg"
-DEB_PR="1"
-
-DESCRIPTION="CERN program library for High Energy Physics"
-HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/cernlib"
-LICENSE="GPL-2 LGPL-2"
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_PV}.orig.tar.gz
- mirror://debian/pool/main/c/${PN}/${PN}_${DEB_PV}-${DEB_PR}.diff.gz"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-DEPEND="virtual/motif
- x11-misc/imake
- app-admin/eselect-blas
- virtual/lapack
- dev-lang/cfortran
- virtual/tetex"
-
-RESTRICT="test"
-
-S=${WORKDIR}/${PN}_${DEB_PV}.orig
-
-FORTRAN="gfortran g77 ifc"
+DEPEND="app-admin/eselect-blas"
src_unpack() {
- fortran_src_unpack ${A}
- cd "${WORKDIR}"
-
- # apply the big debian patch
- epatch "${PN}_${DEB_PV}-${DEB_PR}".diff || die "epatch failed"
- mv ${PN}-${PV}.dfsg/debian "${S}"/
- rm -rf ${PN}-${PV}.dfsg
-
+ cernlib_unpack
cd "${S}"
-
- # temporary fix for threading support (while we have buggy eselect)
+ # temporary fix for threading support (might be supported by eselect)
if eselect blas show | grep -q threaded-atlas; then
einfo "Fixing threads linking for blas"
sed -i \
@@ -47,7 +18,7 @@ src_unpack() {
debian/add-ons/bin/cernlib.in || die "sed failed"
fi
- # fix X11 library path and fortran stuff
+ # fix X11 library path
sed -i \
-e "s:L/usr/X11R6/lib:L/usr/$(get_libdir)/X11:g" \
-e "s:XDIR=/usr/X11R6/lib:XDIR=/usr/$(get_libdir)/X11:g" \
@@ -62,33 +33,5 @@ src_unpack() {
-e 's:$(prefix)/man:$(prefix)/share/man:' \
debian/add-ons/cernlib.mk || die "sed failed"
- cp debian/add-ons/Makefile .
- einfo "Applying Debian patches"
- make \
- DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- patch &> /dev/null || die "make patch failed"
- # since we depend on cfortran, do not use the one from cernlib
- # (adapted from $S/debian/rules)
- mv -f src/include/cfortran/cfortran.h \
- src/include/cfortran/cfortran.h.disabled
-}
-
-src_compile() {
- emake -j1 DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- cd "${S}"/debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
-
-pkg_postinst() {
- elog "Gentoo cernlib is based on Debian's one:"
- elog " - apply a significant amount of patches"
- elog " - respects file system standards"
- elog "Heavy cernlib users might want to check:"
- elog "http://people.debian.org/~kmccarty/cernlib/"
+ cernlib_patch
}
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
index c33ef7d3f..0495e66cb 100644
--- a/sci-physics/geant/Manifest
+++ b/sci-physics/geant/Manifest
@@ -1,9 +1,13 @@
DIST geant321_3.21.14.dfsg-4.diff.gz 36111 RMD160 eeadf11bcf8ae0bf21fff6203d521ef16ea29b78 SHA1 ec152a502f26058d8cf533e2be576d17433fcfa2 SHA256 e0c1261d2d196e8988332b87f76be37e2ecafec260772a31b3f5de38b7db0c3a
DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 RMD160 253b35bd9cda82c2213ec042274f7e6ff6b9e333 SHA1 ae6f39ccc18eacd576a3493992db5da3b3d3b128 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4
-EBUILD geant-3.21.14-r1.ebuild 1279 RMD160 3fcc3dff3ba51d233135f11eae4f2ade64de2266 SHA1 14f6f5e3c6393007a10dcfb4df4b5d56d912d89d SHA256 5b215d72a19dd3d1c84e330ae5ae74761f1e948d33563297e262e9fd0e0cdc91
-MD5 407ea54e087d95d2b9c92e53edae87f2 geant-3.21.14-r1.ebuild 1279
-RMD160 3fcc3dff3ba51d233135f11eae4f2ade64de2266 geant-3.21.14-r1.ebuild 1279
-SHA256 5b215d72a19dd3d1c84e330ae5ae74761f1e948d33563297e262e9fd0e0cdc91 geant-3.21.14-r1.ebuild 1279
+EBUILD geant-3.21.14-r1.ebuild 1232 RMD160 5558f1e8bb4ffede64b4719596e567e4f37cdf5d SHA1 63b4320b8574c6a48871a3b84fbd8c5dbe1163fc SHA256 34451b170ce46922ca58841480732acecab725ef8d5cf2926d4c8fce56538529
+MD5 0534c591c4e44eb424709e67476f4224 geant-3.21.14-r1.ebuild 1232
+RMD160 5558f1e8bb4ffede64b4719596e567e4f37cdf5d geant-3.21.14-r1.ebuild 1232
+SHA256 34451b170ce46922ca58841480732acecab725ef8d5cf2926d4c8fce56538529 geant-3.21.14-r1.ebuild 1232
+EBUILD geant-3.21.14-r2.ebuild 507 RMD160 495921e7f4eff1d88a8901e2bb3de81b6e9c6a25 SHA1 fc95efdc273834534bb25d6c1b8a404635baa1fc SHA256 cb8c7fdd6b2e797f860fbcff2881405a77d16d541756f36bab87c5a736f266ae
+MD5 a07f81826a1143c618de57bdc0fc1374 geant-3.21.14-r2.ebuild 507
+RMD160 495921e7f4eff1d88a8901e2bb3de81b6e9c6a25 geant-3.21.14-r2.ebuild 507
+SHA256 cb8c7fdd6b2e797f860fbcff2881405a77d16d541756f36bab87c5a736f266ae geant-3.21.14-r2.ebuild 507
MISC ChangeLog 359 RMD160 a62764b6202fdc0f5b9a964584fbcc02480f9e9c SHA1 54b85f34a07d78ad86676125c1074d1a9014aca9 SHA256 a20e797dae8ae7b308428c48209b2bcedfeddc67761349d6a0dfa8e70e89b860
MD5 5e20b57a22ba97d8f83d575339646665 ChangeLog 359
RMD160 a62764b6202fdc0f5b9a964584fbcc02480f9e9c ChangeLog 359
@@ -15,3 +19,6 @@ SHA256 fd010851cb7a2b58eecec4d1fed7cb6701aba960496e8224be545b3cc1f38ffe metadata
MD5 f084ad50b55464e0aaca8873c2950cc9 files/digest-geant-3.21.14-r1 557
RMD160 1e58b1061e6ed3ce0cd1b05f12267359137071c4 files/digest-geant-3.21.14-r1 557
SHA256 836d62024e6871f7d101d72e2f377d3d9b0dcf8d981b91dca9af3b837d7d403f files/digest-geant-3.21.14-r1 557
+MD5 f084ad50b55464e0aaca8873c2950cc9 files/digest-geant-3.21.14-r2 557
+RMD160 1e58b1061e6ed3ce0cd1b05f12267359137071c4 files/digest-geant-3.21.14-r2 557
+SHA256 836d62024e6871f7d101d72e2f377d3d9b0dcf8d981b91dca9af3b837d7d403f files/digest-geant-3.21.14-r2 557
diff --git a/sci-physics/geant/files/digest-geant-3.21.14-r2 b/sci-physics/geant/files/digest-geant-3.21.14-r2
new file mode 100644
index 000000000..fd334b1c6
--- /dev/null
+++ b/sci-physics/geant/files/digest-geant-3.21.14-r2
@@ -0,0 +1,6 @@
+MD5 ebcc69212a164a9f32f6706c26262747 geant321_3.21.14.dfsg-4.diff.gz 36111
+RMD160 eeadf11bcf8ae0bf21fff6203d521ef16ea29b78 geant321_3.21.14.dfsg-4.diff.gz 36111
+SHA256 e0c1261d2d196e8988332b87f76be37e2ecafec260772a31b3f5de38b7db0c3a geant321_3.21.14.dfsg-4.diff.gz 36111
+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-r1.ebuild b/sci-physics/geant/geant-3.21.14-r1.ebuild
index 768d8f4d9..96140df71 100644
--- a/sci-physics/geant/geant-3.21.14-r1.ebuild
+++ b/sci-physics/geant/geant-3.21.14-r1.ebuild
@@ -8,7 +8,7 @@ DEB_PN="${PN}321"
DEB_PV="${PV}.dfsg"
DEB_PR="4"
-DESCRIPTION="CERN's Detector Description and Simulation Tool "
+DESCRIPTION="CERN's detector description and simulation Tool "
HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/index.html"
LICENSE="GPL-2 LGPL-2"
SRC_URI="mirror://debian/pool/main/g/${DEB_PN}/${DEB_PN}_${DEB_PV}.orig.tar.gz
@@ -16,36 +16,37 @@ SRC_URI="mirror://debian/pool/main/g/${DEB_PN}/${DEB_PN}_${DEB_PV}.orig.tar.gz
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="=sci-physics/cernlib-2006*
+DEPEND="=sci-physics/cernlib-2005*
sci-physics/paw"
S=${WORKDIR}/${DEB_PN}-${DEB_PV}.orig
-FORTRAN="gfortran g77 ifc"
+FORTRAN="g77"
src_unpack() {
- fortran_src_unpack ${A}
-
- cd "${WORKDIR}"
- epatch ${DEB_PN}_${DEB_PV}-${DEB_PR}.diff || die "epatch failed"
-
+ unpack ${A}
+ epatch ${DEB_PN}_${DEB_PV}-${DEB_PR}.diff
cd "${S}"
cp debian/add-ons/Makefile .
sed -i \
-e "s:/usr/local:/usr:g" \
Makefile || die "sed failed"
make \
- DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
+ DEB_BUILD_OPTIONS="nostrip" \
patch &> /dev/null || die "make patch failed"
}
src_compile() {
- emake -j1 DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
+ emake -j1 \
+ DEB_BUILD_OPTIONS="nostrip" \
|| die "emake failed"
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake \
+ DEB_BUILD_OPTIONS="nostrip" \
+ DESTDIR="${D}" \
+ install || die "emake install failed"
cd "${S}"/debian
dodoc changelog README.* deadpool.txt copyright
newdoc add-ons/README README.addons
diff --git a/sci-physics/geant/geant-3.21.14-r2.ebuild b/sci-physics/geant/geant-3.21.14-r2.ebuild
new file mode 100644
index 000000000..18bbc52d1
--- /dev/null
+++ b/sci-physics/geant/geant-3.21.14-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DEB_PN="${PN}321"
+DEB_PV="${PV}.dfsg"
+DEB_PR="4"
+
+inherit cernlib
+
+DESCRIPTION="CERN's detector description and simulation Tool"
+HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/index.html"
+DEPEND="sci-physics/paw"
+
+S=${WORKDIR}/${DEB_PN}-${DEB_PV}.orig
+
+src_unpack() {
+ unpack ${A}
+ epatch ${DEB_PN}_${DEB_PV}-${DEB_PR}.diff
+ rm -f ${DEB_PN}_${DEB_PV}-${DEB_PR}.diff
+ cernlib_patch
+}
diff --git a/sci-physics/paw/Manifest b/sci-physics/paw/Manifest
index 9c368fb5d..a0b63be45 100644
--- a/sci-physics/paw/Manifest
+++ b/sci-physics/paw/Manifest
@@ -6,10 +6,10 @@ EBUILD paw-2.14.04-r1.ebuild 1217 RMD160 b486b0c6466ad91c24afad111a227747b6eb398
MD5 461b976606d831ddccf853026323e781 paw-2.14.04-r1.ebuild 1217
RMD160 b486b0c6466ad91c24afad111a227747b6eb3983 paw-2.14.04-r1.ebuild 1217
SHA256 502ec259865783e29a88240e57a628820a75f02d74d3ab1a8797ffe95c4ce037 paw-2.14.04-r1.ebuild 1217
-EBUILD paw-2.14.04-r2.ebuild 1457 RMD160 d436ad0ab4d349dcdfa115ccdc3fd620456a14de SHA1 6864aaaa061f830baad72c9acfbb40bc92571dbe SHA256 0270ca2f68b78cbbc98178c19e10e72d1042facb3f3524b89a672d1414fd8fd5
-MD5 df2f0514cf6c6b140a39d7edc6d0c1d7 paw-2.14.04-r2.ebuild 1457
-RMD160 d436ad0ab4d349dcdfa115ccdc3fd620456a14de paw-2.14.04-r2.ebuild 1457
-SHA256 0270ca2f68b78cbbc98178c19e10e72d1042facb3f3524b89a672d1414fd8fd5 paw-2.14.04-r2.ebuild 1457
+EBUILD paw-2.14.04-r2.ebuild 532 RMD160 03f65f3aedf0f44419f7d44ba4a46ffbb33edc88 SHA1 de8c980838482916e040dd01dd8031d074fa98e4 SHA256 f090efad537c2f88dbdbfc6c3e741b2c04565326d6ac97a5d760e6358b54b93f
+MD5 6f46acfa1d4fb0d1797b72fd1d1f146f paw-2.14.04-r2.ebuild 532
+RMD160 03f65f3aedf0f44419f7d44ba4a46ffbb33edc88 paw-2.14.04-r2.ebuild 532
+SHA256 f090efad537c2f88dbdbfc6c3e741b2c04565326d6ac97a5d760e6358b54b93f paw-2.14.04-r2.ebuild 532
MISC ChangeLog 624 RMD160 8d45c91d4915a03c95241c4fce2ee0cee706c008 SHA1 dad0604196ea85809d2ec3478743ec2e75744128 SHA256 bd6d0634d13839b50363e0a8b235bb9447f72ce0001df2d12f2672f62eadc839
MD5 b5e4706f709701e642b6080fff81a76c ChangeLog 624
RMD160 8d45c91d4915a03c95241c4fce2ee0cee706c008 ChangeLog 624
diff --git a/sci-physics/paw/paw-2.14.04-r2.ebuild b/sci-physics/paw/paw-2.14.04-r2.ebuild
index 350ed6dcb..35b726077 100644
--- a/sci-physics/paw/paw-2.14.04-r2.ebuild
+++ b/sci-physics/paw/paw-2.14.04-r2.ebuild
@@ -2,58 +2,18 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils multilib fortran
-
-DEB_PV="${PV}.dfsg"
-DEB_PR="1"
+inherit cernlib
DESCRIPTION="CERN's Physics Analysis Workstation data analysis program"
HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/paw/index.html"
-LICENSE="BSD"
-SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${DEB_PV}.orig.tar.gz
- mirror://debian/pool/main/p/${PN}/${PN}_${DEB_PV}-${DEB_PR}.diff.gz"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="x11-libs/xbae
- >=sci-physics/cernlib-2006"
-
-S=${WORKDIR}/${PN}_${DEB_PV}.orig
-
-FORTRAN="gfortran g77 ifc"
+DEPEND="x11-libs/xbae"
src_unpack() {
- fortran_src_unpack
-
- cd "${WORKDIR}"
- epatch ${PN}_${DEB_PV}-${DEB_PR}.diff || die "epatch failed"
- mv ${PN}-${PV}.dfsg/debian "${S}"/
- rm -rf ${PN}-${PV}.dfsg
-
- cd "${S}"
- cp debian/add-ons/Makefile .
+ cernlib_unpack
# fix some path stuff and collision for comis.h, already installed by cernlib
sed -i \
- -e "s:/usr/local:/usr:g" \
-e '/comis.h/d' \
-e "s/g77/${FORTRANC}/g" \
- Makefile || die "sed failed"
-
- einfo "Applying Debian patches"
- make \
- DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- patch &> /dev/null || die "make patch failed"
-}
-
-
-src_compile() {
- emake -j1 DEB_BUILD_OPTIONS="${FORTRANC} nostrip" \
- || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- cd "${S}"/debian
- dodoc changelog README.* deadpool.txt copyright.txt
- newdoc add-ons/README README.add-ons
+ "${S}"/debian/add-ons/Makefile || die "sed failed"
+ cernlib_patch
}