diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:38:52 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-24 21:38:52 +0000 |
commit | cf7d9d646ba5b7b8ccc6921689db6dbc24f1559a (patch) | |
tree | 6cecc16f369c9b859f4167b2bb4200597ec00f9a /sci-physics | |
parent | Initial import. (diff) | |
download | gentoo-2-cf7d9d646ba5b7b8ccc6921689db6dbc24f1559a.tar.gz gentoo-2-cf7d9d646ba5b7b8ccc6921689db6dbc24f1559a.tar.bz2 gentoo-2-cf7d9d646ba5b7b8ccc6921689db6dbc24f1559a.zip |
Initial import
(Portage version: 2.1.2.12)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/paw/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/paw/Manifest | 17 | ||||
-rw-r--r-- | sci-physics/paw/files/digest-paw-2.14.04 | 6 | ||||
-rw-r--r-- | sci-physics/paw/metadata.xml | 15 | ||||
-rw-r--r-- | sci-physics/paw/paw-2.14.04.ebuild | 88 |
5 files changed, 136 insertions, 0 deletions
diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog new file mode 100644 index 000000000000..24a438d7867f --- /dev/null +++ b/sci-physics/paw/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/paw +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.1 2007/08/24 21:38:52 bicatali Exp $ + +*paw-2.14.04 (24 Aug 2007) + + 24 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +paw-2.14.04.ebuild: + Initial import. + diff --git a/sci-physics/paw/Manifest b/sci-physics/paw/Manifest new file mode 100644 index 000000000000..a15a44afdb4d --- /dev/null +++ b/sci-physics/paw/Manifest @@ -0,0 +1,17 @@ +DIST paw_2.14.04.dfsg.2-1.diff.gz 63690 RMD160 15714a33a7479a08007d48f74e71bdcfa8140ae6 SHA1 884d187babf64ac7da978affe3ede32e08cdf760 SHA256 db8fff53959799234ee56aec7b59897cf84e80c2c6438f7690c989eeea0dad2c +DIST paw_2.14.04.dfsg.2.orig.tar.gz 3334317 RMD160 2dbe9f6800960981644f65c43e53bebf0d125cde SHA1 985ba7f567b7cfccc1d059f0b6011cae9ee36993 SHA256 68925384706a4a61c477a48ed0fad539d214a4b04fdb9db5ef4e8d453f26c44e +EBUILD paw-2.14.04.ebuild 2118 RMD160 2ed55a5f74ec219551f66045d7e0511c834d5378 SHA1 c46b3c40c1ec7eb57b69984f26417fb6aa463aae SHA256 3c58a49cb64fce2bfc4640bf020f0192a965f5980c2c158073f29573e85a7462 +MD5 be8c073bd16f61ee9021171c814263fa paw-2.14.04.ebuild 2118 +RMD160 2ed55a5f74ec219551f66045d7e0511c834d5378 paw-2.14.04.ebuild 2118 +SHA256 3c58a49cb64fce2bfc4640bf020f0192a965f5980c2c158073f29573e85a7462 paw-2.14.04.ebuild 2118 +MISC ChangeLog 256 RMD160 ac0c9de59d9897415115b3a917d9ddc2cda3a6f4 SHA1 518575284112c0e82bb64f7602a96714204f0501 SHA256 23220087d86268210db6be18c831840ab7fa8f5c1121fa524f7963cc949ae179 +MD5 4aa36dd3afc5d02fdf5c281077b5688a ChangeLog 256 +RMD160 ac0c9de59d9897415115b3a917d9ddc2cda3a6f4 ChangeLog 256 +SHA256 23220087d86268210db6be18c831840ab7fa8f5c1121fa524f7963cc949ae179 ChangeLog 256 +MISC metadata.xml 672 RMD160 b58513a2dcf581528ec21a29a35ba9ba2cbe52a8 SHA1 4e981e91c97e9fa50af7931c256965f916010ff1 SHA256 e6c2bdf31af10b1bfa8af78321ff9cda07af4fc0ff6066ba6cfee1f5d1f4e965 +MD5 16d743914d1ae9bf7ced8493f3fa67ef metadata.xml 672 +RMD160 b58513a2dcf581528ec21a29a35ba9ba2cbe52a8 metadata.xml 672 +SHA256 e6c2bdf31af10b1bfa8af78321ff9cda07af4fc0ff6066ba6cfee1f5d1f4e965 metadata.xml 672 +MD5 55f4a1957fef5e375848d9c547e18ac5 files/digest-paw-2.14.04 536 +RMD160 3412232f2b0e25d8b6dc9067f199e9d866d52a71 files/digest-paw-2.14.04 536 +SHA256 d9531ac2aad4f4f40022ba827541053f90f2f5f2325285f14804d98a1c30dec6 files/digest-paw-2.14.04 536 diff --git a/sci-physics/paw/files/digest-paw-2.14.04 b/sci-physics/paw/files/digest-paw-2.14.04 new file mode 100644 index 000000000000..a1b9dbbe1a28 --- /dev/null +++ b/sci-physics/paw/files/digest-paw-2.14.04 @@ -0,0 +1,6 @@ +MD5 90982e80623338cf2d4b4a9efb445f8c paw_2.14.04.dfsg.2-1.diff.gz 63690 +RMD160 15714a33a7479a08007d48f74e71bdcfa8140ae6 paw_2.14.04.dfsg.2-1.diff.gz 63690 +SHA256 db8fff53959799234ee56aec7b59897cf84e80c2c6438f7690c989eeea0dad2c paw_2.14.04.dfsg.2-1.diff.gz 63690 +MD5 3549dee858a43ee671c8f42d40c1a741 paw_2.14.04.dfsg.2.orig.tar.gz 3334317 +RMD160 2dbe9f6800960981644f65c43e53bebf0d125cde paw_2.14.04.dfsg.2.orig.tar.gz 3334317 +SHA256 68925384706a4a61c477a48ed0fad539d214a4b04fdb9db5ef4e8d453f26c44e paw_2.14.04.dfsg.2.orig.tar.gz 3334317 diff --git a/sci-physics/paw/metadata.xml b/sci-physics/paw/metadata.xml new file mode 100644 index 000000000000..c3dd8b627dc4 --- /dev/null +++ b/sci-physics/paw/metadata.xml @@ -0,0 +1,15 @@ +<?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"> +PAW is an interactive program providing interactive graphical +presentation and statistical and mathematical analysis tools. It is +designed to work on objects familiar to physicists such as histograms, +event files (Ntuples), vectors, etc. +The program is linked statically against the CERN libraries on 64-bit +architectures in order to function properly, as its design is not very +64-bit clean. Even so, AMD64 is the only 64-bit platform where it +functions well. +</longdescription> +</pkgmetadata> diff --git a/sci-physics/paw/paw-2.14.04.ebuild b/sci-physics/paw/paw-2.14.04.ebuild new file mode 100644 index 000000000000..d437dac7d32a --- /dev/null +++ b/sci-physics/paw/paw-2.14.04.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 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.ebuild,v 1.1 2007/08/24 21:38:52 bicatali Exp $ + +inherit eutils multilib fortran + +DEB_PN=paw +DEB_PV=${PV}.dfsg.2 +DEB_PR=1 +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}.diff.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND="virtual/motif + virtual/lapack + dev-lang/cfortran + sci-physics/cernlib + x11-libs/xbae" + +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 + + cd "${S}" + cp debian/add-ons/Makefile . + # 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/g77/${FORTRANC}/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" +} + +pkg_postinst() { + if use amd64; then + elog "Please see the possible warnings in using ${PN} on 64 bits:" + elog "/usr/share/doc/${PF}/README.*64*" + fi +} |