summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-07-21 16:55:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-07-21 16:55:57 +0000
commit5519c83b2a5c4fb271e404466dc4e90079d8f5c4 (patch)
tree4afcab978fd3856793ea0a31f3398fb1cd810db6 /sci-physics
parentRespect LDFLAGS. (diff)
downloadhistorical-5519c83b2a5c4fb271e404466dc4e90079d8f5c4.tar.gz
historical-5519c83b2a5c4fb271e404466dc4e90079d8f5c4.tar.bz2
historical-5519c83b2a5c4fb271e404466dc4e90079d8f5c4.zip
New debian patch set. Switch to EAPI4
Package-Manager: portage-2.1.10.7/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/paw/ChangeLog7
-rw-r--r--sci-physics/paw/Manifest10
-rw-r--r--sci-physics/paw/paw-2.14.04-r3.ebuild67
3 files changed, 79 insertions, 5 deletions
diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog
index ab7cc056855d..a85322dbf71d 100644
--- a/sci-physics/paw/ChangeLog
+++ b/sci-physics/paw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/paw
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.22 2011/06/21 14:33:07 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.23 2011/07/21 16:55:57 bicatali Exp $
+
+*paw-2.14.04-r3 (21 Jul 2011)
+
+ 21 Jul 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> +paw-2.14.04-r3.ebuild:
+ New debian patch set. Switch to EAPI4
21 Jun 2011; Justin Lecher <jlec@gentoo.org> paw-2.14.04-r2.ebuild:
Add dependency on virtual/fortran
diff --git a/sci-physics/paw/Manifest b/sci-physics/paw/Manifest
index 1df68506519a..cdac428ab592 100644
--- a/sci-physics/paw/Manifest
+++ b/sci-physics/paw/Manifest
@@ -4,14 +4,16 @@ Hash: SHA1
AUX paw-2.14.04-glibc-2.10.patch 311 RMD160 42d34c7fa5964de48773d9b82096d8d0652ee5c0 SHA1 3a735cfc2e44273229e39ec526b227a26d8ba97f SHA256 a729f58b8d633624340c4ce0eeee453082b6dd8e5b11a2ccc3ac3b286d0b8535
AUX paw-2.14.04-missing-headers.patch 271 RMD160 e7877b12ffe2d058daba6a8b7f32012bcb73ec31 SHA1 5d9479fd781217e7911152264aa8759ade88a137 SHA256 d35e99f8ad9f71da10d7283034920bd731fd5e4f9947d6e2fbd6b19b0fa58046
DIST paw_2.14.04.dfsg.2-6.diff.gz 66142 RMD160 beb919434e2a10c4e6a8d3ba755ff247cbc6ca57 SHA1 973cb19c72ed7d78850658bad717db41d3939d51 SHA256 292942fc497469159506f9bfb513ba90c920bdee360c401d7214a5bdd7abffe2
+DIST paw_2.14.04.dfsg.2-7.debian.tar.gz 80210 RMD160 2fa25ac130cb93e61a95101b8ea1e04e8123723c SHA1 d2c5a96aed1c3ebfac68d153ab86b31b85a86025 SHA256 fd6799ebfd5a795609e0ff3ee0028848b724de976e448711fa6d795e6206ee6e
DIST paw_2.14.04.dfsg.2.orig.tar.gz 3334317 RMD160 2dbe9f6800960981644f65c43e53bebf0d125cde SHA1 985ba7f567b7cfccc1d059f0b6011cae9ee36993 SHA256 68925384706a4a61c477a48ed0fad539d214a4b04fdb9db5ef4e8d453f26c44e
EBUILD paw-2.14.04-r2.ebuild 2098 RMD160 29e1e30ed351ea089203a12817ed5cba5a25ce52 SHA1 e57c8fba4a0d6f54c10ff9b7ab967ec16e4bc7aa SHA256 bc8996019280a0371b0e41d0fcb26802064607470295d4aa66dbb7b2eb9115a2
-MISC ChangeLog 3254 RMD160 34cc646829e672dcbe1c0684ee6b11df0f88a69d SHA1 07ad5d4d3af9133d8737c083d990995cd776d10d SHA256 d7f692d388828e47039b099211943c45df88508c3e65fa5dd3880bd6270d473a
+EBUILD paw-2.14.04-r3.ebuild 1833 RMD160 47e5ed05df3ca32d12b72430c79d3991413aee3c SHA1 eadcf1dc4a28cf04690095776cf850281ac952ab SHA256 7dfa13b8fbacb51b7b4cdad10f0366587cf5f5ac608d1a0917db15b4ffafacd7
+MISC ChangeLog 3409 RMD160 9577d6d4f2b4859f5769600188216c281c2caa6c SHA1 ac7aa1abdc4b20fa31edb78dcbab06489cb969ca SHA256 0e8c7820edf0c3a37b0d6a4d92bfbf5886d1481c10e833cd6b650dee5919345c
MISC metadata.xml 688 RMD160 6bb9b35163babdb4b34a5b0a5dd1b7c0393952e7 SHA1 e3d0da95779db91f87843bc81377938e946dba21 SHA256 cbc31d8cbfddf2bee605d85449a887950a5cc7707c1caeb623865caaee2edc11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4Aq6gACgkQgAnW8HDreRbB6ACfRC8QcyB9hXR8ZugA2MuGEtz1
-9uUAoJF351xfIRaodyUrZ4bdSCbv4+N5
-=kqAU
+iEYEARECAAYFAk4oWiYACgkQ1ycZbhPLE2DtAACgpGX73xqORECS2OBKadVTSrMQ
+ujAAnAmOeEoR7Uy1atrIWMTtsVsNqmK9
+=NY1e
-----END PGP SIGNATURE-----
diff --git a/sci-physics/paw/paw-2.14.04-r3.ebuild b/sci-physics/paw/paw-2.14.04-r3.ebuild
new file mode 100644
index 000000000000..b1a9c4ca45d2
--- /dev/null
+++ b/sci-physics/paw/paw-2.14.04-r3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r3.ebuild,v 1.1 2011/07/21 16:55:57 bicatali Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs fortran-2
+
+DEB_PN=paw
+DEB_PV=${PV}.dfsg.2
+DEB_PR=7
+DEB_P=${DEB_PN}_${DEB_PV}
+
+DESCRIPTION="CERN's Physics Analysis Workstation data analysis program"
+HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/paw/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}.debian.tar.gz"
+
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND="sci-physics/cernlib
+ virtual/fortran
+ x11-libs/libXaw
+ >=x11-libs/openmotif-2.3:0
+ x11-libs/xbae"
+
+DEPEND="${RDEPEND}
+ dev-lang/cfortran
+ virtual/latex-base
+ x11-misc/imake
+ x11-misc/makedepend"
+
+S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
+
+src_prepare() {
+ mv ../debian . && cp debian/add-ons/Makefile .
+ export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
+
+ # fix some path stuff and collision for comis.h,
+ # already installed by cernlib and replace hardcoded fortran compiler
+ sed -i \
+ -e 's:/usr/local:/usr:g' \
+ -e '/comis.h/d' \
+ -e "s/gfortran/$(tc-getFC)/g" \
+ Makefile || die "sed'ing the Makefile failed"
+
+ einfo "Applying Debian patches"
+ emake -j1 patch
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
+ #epatch "${FILESDIR}"/${P}-missing-headers.patch
+ # since we depend on cfortran, do not use the one from cernlib
+ rm -f src/include/cfortran/cfortran.h
+}
+
+src_compile() {
+ VARTEXFONTS="${T}"/fonts
+ emake -j1 cernlib-indep cernlib-arch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ cd "${S}"/debian
+ dodoc changelog README.* deadpool.txt copyright
+ newdoc add-ons/README README.add-ons
+}