summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-physics/hepmc/ChangeLog7
-rw-r--r--sci-physics/hepmc/Manifest14
-rw-r--r--sci-physics/hepmc/hepmc-2.06.04.ebuild59
3 files changed, 72 insertions, 8 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog
index 48040833b434..6f8c4b18921b 100644
--- a/sci-physics/hepmc/ChangeLog
+++ b/sci-physics/hepmc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/hepmc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.20 2011/01/18 16:45:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.21 2011/02/07 19:34:02 bicatali Exp $
+
+*hepmc-2.06.04 (07 Feb 2011)
+
+ 07 Feb 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> +hepmc-2.06.04.ebuild:
+ Version bum with prefixazation
18 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> -hepmc-2.06.01.ebuild,
hepmc-2.06.03.ebuild:
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index cad9df8c59a4..c7d775b59429 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -3,16 +3,16 @@ Hash: SHA1
DIST HepMC-2.05.01.tar.gz 5138294 RMD160 403a9bc4b9987c992bb21e8bf5f5f2b838cd1b3e SHA1 ffc2048d2d146a0494fa010afdbe27db6f5b75e3 SHA256 d4c300bb33cf85b10a0cd073b390ec3ff5b2ad5cd408ab428c8debb20a92dccb
DIST HepMC-2.06.03.tar.gz 4587543 RMD160 3c63afa80d9c0bef8f63460936f357de3d2a5ae0 SHA1 ece85e95494750d64e34ef31807d42c7888f21ee SHA256 6dc6de2df9e3a30b98d47a1ca0442a9513fcc5df0d6b5590364270903e96a6f3
+DIST HepMC-2.06.04.tar.gz 4594174 RMD160 9d28e1e1b075a04932d83270f0dab54f2b2e55b9 SHA1 1c82a58e7463658a0a6ebe1d2ea26d7dfa164ed3 SHA256 207b0ae1c5e2b1666d1e5b36335475f41296450bee6a31d11058d942aef025d8
EBUILD hepmc-2.05.01.ebuild 1384 RMD160 05bbe5cebadd6cc5fa0311d8e05f790ac1542569 SHA1 ea5fa281aa0f5d765120689b6d9f6f1f036c456b SHA256 a69cbfa0ac3056e099b5765bf7bad211776e8fdce608f430ed1a6526154cb51c
EBUILD hepmc-2.06.03.ebuild 1424 RMD160 368a5648701b4e123cd7b66b6ef730fa3673a658 SHA1 291632121b3daaeaea1bdccf85a358c7e7ad4c5c SHA256 2302cf01c148e694b0cd207dd523c7fcc1d4d809a20cbf734fb0de6f76316dfc
-MISC ChangeLog 2928 RMD160 07141995694df1d25a5ede21360a5d204a54ce10 SHA1 362646cb9ee80030655e70b265bbed05bfa0ad1f SHA256 0f1ad693799021c750b5e7fee793fd15702a9dd48689896248cba1b2bf1d80c6
+EBUILD hepmc-2.06.04.ebuild 1449 RMD160 098f4f1c2f64fb88eea42f9b060bc36a46d59551 SHA1 15771306a0b6527a8a9a519eeda8b77b7b4fbcc3 SHA256 a72cff968cdb6acd45bbefa14c02622f3c4709de317fb445f5179c037e99c39b
+MISC ChangeLog 3068 RMD160 f262f2e2adc7c867eb5c87ee0874faafe3f2ea15 SHA1 723a9785c7c4287cd6f76c5aafa8ad7f59f76e76 SHA256 78ffac7f19f1a68db2978160d8c01ed363e408bbc424231bfe20897290d11760
MISC metadata.xml 1291 RMD160 6f907411d6c897e4f01c06f97c535ea7c3af7875 SHA1 cb5af85bd4c34210192209a4f2242123982c3baa SHA256 56362a0f765e7b4ba3c38648e1930e1c1a253008d8e28a533ac407ee7d1b69ef
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQECAAYFAk01w8gACgkQIiMqcbOVdxR/+AP/eRP4INhKNLFDJIEkLzZJamyT
-PN7bAaLc227BxE3nt03Tuqi7rCK/dMqFWNtHdqPELRkqn9eQ6WZSKU+9fxsmdM9p
-qWFmypEV8PlrnCH19vUSBM1PPLa1bdzy7pw9WVroN6VobOg/cEITQUthxZoLg0ej
-6WKK0X7MwarOkzqQ5wM=
-=6lRW
+iEUEARECAAYFAk1QViAACgkQ1ycZbhPLE2AxCACeOpLN3snMM4d0oKZuVBwe5ZUC
+fAEAmJmuZICtuurow6Qv+vYpdEIDGNA=
+=Ov/L
-----END PGP SIGNATURE-----
diff --git a/sci-physics/hepmc/hepmc-2.06.04.ebuild b/sci-physics/hepmc/hepmc-2.06.04.ebuild
new file mode 100644
index 000000000000..d09a675c1ef9
--- /dev/null
+++ b/sci-physics/hepmc/hepmc-2.06.04.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.04.ebuild,v 1.1 2011/02/07 19:34:02 bicatali Exp $
+
+EAPI=3
+
+MYP=HepMC-${PV}
+
+DESCRIPTION="Event Record for Monte Carlo Generators"
+HOMEPAGE="https://savannah.cern.ch/projects/hepmc/"
+SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE="doc examples gev cm static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MYP}"
+
+src_configure() {
+ # use MeV over GeV and mm over cm
+ local length_conf="MM"
+ use cm && length_conf="CM"
+ local momentum_conf="MEV"
+ use gev && momentum_conf="GEV"
+ econf \
+ --with-length=${length_conf} \
+ --with-momentum=${momentum_conf} \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ cd doc
+ doxygen doxygen.conf || die "doc building failed"
+ fi
+}
+
+src_install() {
+ emake \
+ DESTDIR="${ED}" \
+ INSTALLDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
+ doc_installdir="${EPREFIX}/usr/share/doc/${PF}" \
+ install || die "emake install failed"
+
+ dodoc README AUTHORS ChangeLog
+ insinto /usr/share/doc/${PF}
+ if use doc; then
+ doins -r doc/html doc/*.pdf || die
+ else
+ rm -f "${ED}"/usr/share/doc/${PF}/*pdf
+ fi
+ use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
+}