From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-physics/hepmc: ChangeLog hepmc-2.06.04.ebuild |
Date: | Mon, 07 Feb 2011 19:34:13 |
Message-Id: | 20110207193402.A182420054@flycatcher.gentoo.org |
1 | bicatali 11/02/07 19:34:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hepmc-2.06.04.ebuild |
5 | Log: |
6 | Version bum with prefixazation |
7 | |
8 | (Portage version: 2.1.9.36/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.21 sci-physics/hepmc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.21&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.21&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?r1=1.20&r2=1.21 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v |
20 | retrieving revision 1.20 |
21 | retrieving revision 1.21 |
22 | diff -u -r1.20 -r1.21 |
23 | --- ChangeLog 18 Jan 2011 16:45:55 -0000 1.20 |
24 | +++ ChangeLog 7 Feb 2011 19:34:02 -0000 1.21 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-physics/hepmc |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.20 2011/01/18 16:45:55 xarthisius Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.21 2011/02/07 19:34:02 bicatali Exp $ |
30 | + |
31 | +*hepmc-2.06.04 (07 Feb 2011) |
32 | + |
33 | + 07 Feb 2011; Sébastien Fabbro <bicatali@g.o> +hepmc-2.06.04.ebuild: |
34 | + Version bum with prefixazation |
35 | |
36 | 18 Jan 2011; Kacper Kowalik <xarthisius@g.o> -hepmc-2.06.01.ebuild, |
37 | hepmc-2.06.03.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sci-physics/hepmc/hepmc-2.06.04.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.04.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.04.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hepmc-2.06.04.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.04.ebuild,v 1.1 2011/02/07 19:34:02 bicatali Exp $ |
51 | |
52 | EAPI=3 |
53 | |
54 | MYP=HepMC-${PV} |
55 | |
56 | DESCRIPTION="Event Record for Monte Carlo Generators" |
57 | HOMEPAGE="https://savannah.cern.ch/projects/hepmc/" |
58 | SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
63 | IUSE="doc examples gev cm static-libs" |
64 | |
65 | RDEPEND="" |
66 | DEPEND="${RDEPEND} |
67 | doc? ( app-doc/doxygen )" |
68 | |
69 | S="${WORKDIR}/${MYP}" |
70 | |
71 | src_configure() { |
72 | # use MeV over GeV and mm over cm |
73 | local length_conf="MM" |
74 | use cm && length_conf="CM" |
75 | local momentum_conf="MEV" |
76 | use gev && momentum_conf="GEV" |
77 | econf \ |
78 | --with-length=${length_conf} \ |
79 | --with-momentum=${momentum_conf} \ |
80 | $(use_enable static-libs static) |
81 | } |
82 | |
83 | src_compile() { |
84 | emake || die "emake failed" |
85 | if use doc; then |
86 | cd doc |
87 | doxygen doxygen.conf || die "doc building failed" |
88 | fi |
89 | } |
90 | |
91 | src_install() { |
92 | emake \ |
93 | DESTDIR="${ED}" \ |
94 | INSTALLDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
95 | doc_installdir="${EPREFIX}/usr/share/doc/${PF}" \ |
96 | install || die "emake install failed" |
97 | |
98 | dodoc README AUTHORS ChangeLog |
99 | insinto /usr/share/doc/${PF} |
100 | if use doc; then |
101 | doins -r doc/html doc/*.pdf || die |
102 | else |
103 | rm -f "${ED}"/usr/share/doc/${PF}/*pdf |
104 | fi |
105 | use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples |
106 | } |