diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-06-06 19:17:37 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-06-06 19:17:37 +0000 |
commit | b2ad6cdc3bf47c2c2bbdd2dbd21d3a7934f9b0d2 (patch) | |
tree | ae715a10be030f43a1e9f64392e56c510924c6be /sci-physics | |
parent | Add ~alpha/~ia64 (diff) | |
download | historical-b2ad6cdc3bf47c2c2bbdd2dbd21d3a7934f9b0d2.tar.gz historical-b2ad6cdc3bf47c2c2bbdd2dbd21d3a7934f9b0d2.tar.bz2 historical-b2ad6cdc3bf47c2c2bbdd2dbd21d3a7934f9b0d2.zip |
Initial import, closing bug #98233
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/clhep/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/clhep/Manifest | 15 | ||||
-rw-r--r-- | sci-physics/clhep/clhep-2.0.3.3.ebuild | 51 | ||||
-rw-r--r-- | sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch | 10 | ||||
-rw-r--r-- | sci-physics/clhep/metadata.xml | 10 |
5 files changed, 96 insertions, 0 deletions
diff --git a/sci-physics/clhep/ChangeLog b/sci-physics/clhep/ChangeLog new file mode 100644 index 000000000000..ca6a741c9cb6 --- /dev/null +++ b/sci-physics/clhep/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/clhep +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.1 2008/06/06 19:17:37 bicatali Exp $ + +*clhep-2.0.3.3 (06 Jun 2008) + + 06 Jun 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/clhep-2.0.3.3-gcc43.patch, +metadata.xml, +clhep-2.0.3.3.ebuild: + Initial import, closing bug #98233 + diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest new file mode 100644 index 000000000000..28765f6f09e7 --- /dev/null +++ b/sci-physics/clhep/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX clhep-2.0.3.3-gcc43.patch 344 RMD160 559f03569fe8d306537c44e569a5ca3f148463d5 SHA1 b77566a6fb11b906218c139041346ca3e75fa1c5 SHA256 68e3c185d69f52cbf795c111b7b4da7e6e3caf41eb91593d848501bb69218970 +DIST clhep-2.0.3.3-src.tgz 5053788 RMD160 ecb999268bb722cdf39a9ea4b788b1e7e5aa26ec SHA1 5aec5fae980655dd977843807c9afc1752810b8f SHA256 a382f31a63c2a63d89159aa0afead9a44a5b44ede716f25d93bbf783b92eec81 +EBUILD clhep-2.0.3.3.ebuild 1321 RMD160 8e58764781f05f42bc9340086fd11e002ca1d241 SHA1 1604ca008e80385de85510973676a9f12a09e11b SHA256 cc15e3c4beba865181e5922f26466d0fcb32835dfa7740b04de1ab5875b2b287 +MISC ChangeLog 406 RMD160 96f6de4e3ed88f056831cca3867f64b13ca5a98b SHA1 ac5a87cd2b1b96a4a08c5c62f4875bb06e64abf2 SHA256 b8c304648377024b0372404189f6418e53b7e12dc5e8f89f443cb109b328b603 +MISC metadata.xml 401 RMD160 9b3b01a3ccc10ad8340a6fa83a47857ae8678fa9 SHA1 239babd5b008f5275190c1cf49c89fa6b2820c8d SHA256 45c2367f8d7b1c0a99250fba662e51a7bce383a8f9accda46328c6c101842e18 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhJjVsACgkQ1ycZbhPLE2AmYQCggogtT1oWQYjcNkFbwRu4Upcd +8S8AnA9dZJ8CL3LG8H9iuQW2uQZrbr3D +=L1xB +-----END PGP SIGNATURE----- diff --git a/sci-physics/clhep/clhep-2.0.3.3.ebuild b/sci-physics/clhep/clhep-2.0.3.3.ebuild new file mode 100644 index 000000000000..4f2304a6c396 --- /dev/null +++ b/sci-physics/clhep/clhep-2.0.3.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.0.3.3.ebuild,v 1.1 2008/06/06 19:17:37 bicatali Exp $ + +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="High Energy Physics C++ library" +HOMEPAGE="http://www.cern.ch/clhep" +SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/${P}-src.tgz" + +LICENSE="public-domain" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +IUSE="exceptions" +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PV}/CLHEP" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch + for d in $(find . -name configure.in); do + pushd ${d/configure.in/} + # respect user flags and fix some compilers stuff + sed -i \ + -e 's:^g++):*g++):g' \ + -e 's:^icc):icc|icpc):g' \ + -e '/AM_CXXFLAGS=/s:-O ::g' \ + configure.in || die + # need to rebuild because original configurations + # have buggy detection + eautoconf + popd + done +} + +src_compile() { + # use ld LDFLAGS for intel compiler + [[ $(tc-getCXX) = i*c ]] && \ + export LDFLAGS="$(raw-ldflags)" + econf $(use_enable exceptions) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog || die +} diff --git a/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch b/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch new file mode 100644 index 000000000000..c93a38beedfd --- /dev/null +++ b/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch @@ -0,0 +1,10 @@ +--- Random/test/testRandom.cc.orig 2003-07-17 19:20:29.000000000 +0000 ++++ Random/test/testRandom.cc 2008-06-06 19:12:09.000000000 +0000 +@@ -3,6 +3,7 @@ + // ---------------------------------------------------------------------- + #include "CLHEP/Random/Randomize.h" + #include <iostream> ++#include <cstdlib> + + using std::cout; + using std::endl; diff --git a/sci-physics/clhep/metadata.xml b/sci-physics/clhep/metadata.xml new file mode 100644 index 000000000000..a392c9ee92eb --- /dev/null +++ b/sci-physics/clhep/metadata.xml @@ -0,0 +1,10 @@ +<?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"> + A Class Library for High Energy Physics is intended to be a set of + HEP-specific foundation and utility classes such as random + generators, physics vectors, geometry and linear algebra. +</longdescription> +</pkgmetadata> |