diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-11-20 07:33:16 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-11-20 07:33:16 +0000 |
commit | 8d8b7897d09b4212398ccb3693fbdd4fac0cb994 (patch) | |
tree | 701e2e96210fd971f791252357c0c8be0208feda /sci-physics/hepmc | |
parent | Version bump. (diff) | |
download | gentoo-2-8d8b7897d09b4212398ccb3693fbdd4fac0cb994.tar.gz gentoo-2-8d8b7897d09b4212398ccb3693fbdd4fac0cb994.tar.bz2 gentoo-2-8d8b7897d09b4212398ccb3693fbdd4fac0cb994.zip |
Version bump
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r-- | sci-physics/hepmc/ChangeLog | 7 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-2.06.03.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog index 4e348dd12096..63ea8c52e854 100644 --- a/sci-physics/hepmc/ChangeLog +++ b/sci-physics/hepmc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/hepmc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.18 2010/08/12 16:32:42 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.19 2010/11/20 07:33:16 bicatali Exp $ + +*hepmc-2.06.03 (20 Nov 2010) + + 20 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +hepmc-2.06.03.ebuild: + Version bump *hepmc-2.06.01 (12 Aug 2010) diff --git a/sci-physics/hepmc/hepmc-2.06.03.ebuild b/sci-physics/hepmc/hepmc-2.06.03.ebuild new file mode 100644 index 000000000000..8eeaff93bd30 --- /dev/null +++ b/sci-physics/hepmc/hepmc-2.06.03.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v 1.1 2010/11/20 07:33:16 bicatali Exp $ + +EAPI=2 + +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="${D}" \ + INSTALLDIR=/usr/share/doc/${PF}/examples \ + doc_installdir=/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 "${D}"/usr/share/doc/${PF}/*pdf + fi + use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples +} |