1 |
bicatali 08/09/07 22:13:51 |
2 |
|
3 |
Added: metadata.xml ChangeLog Manifest |
4 |
hepmc-2.04.00.ebuild |
5 |
Log: |
6 |
Initial import, inspired from Benjamin Bannier's work (bug #236718) |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-physics/hepmc/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>sci-physics</herd> |
21 |
<longdescription lang="en"> |
22 |
The HepMC package is an object oriented event record written in C++ |
23 |
for High Energy Physics Monte Carlo Generators. Many extensions from |
24 |
HEPEVT, the Fortran HEP standard, are supported: the number of entries |
25 |
is unlimited, spin density matrices can be stored with each vertex, |
26 |
flow patterns (such as color) can be stored and traced, integers |
27 |
representing random number generator states can be stored, and an |
28 |
arbitrary number of event weights can be included. Particles and |
29 |
vertices are kept separate in a graph structure, physically similar to |
30 |
a physics event. The added information supports the modularisation of |
31 |
event generators. The package has been kept as simple as possible with |
32 |
minimal internal/external dependencies. Event information is accessed |
33 |
by means of iterators supplied with the package. |
34 |
|
35 |
Reference: M. Dobbs and J.B. Hansen, Comput. Phys. Commun. 134 (2001)41. |
36 |
</longdescription> |
37 |
<use> |
38 |
<flag name='gev'>Build with GeV instead of default MeV for momentum units</flag> |
39 |
<flag name='cm'>Build with cm instead of default mm for length units</flag> |
40 |
</use> |
41 |
</pkgmetadata> |
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-physics/hepmc/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: ChangeLog |
51 |
=================================================================== |
52 |
# ChangeLog for sci-physics/hepmc |
53 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.1 2008/09/07 22:13:50 bicatali Exp $ |
55 |
|
56 |
*hepmc-2.04.00 (07 Sep 2008) |
57 |
|
58 |
07 Sep 2008; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
59 |
+hepmc-2.04.00.ebuild: |
60 |
Initial import, inspired from Benjamin Bannier's work (bug #236718) |
61 |
|
62 |
|
63 |
|
64 |
|
65 |
1.1 sci-physics/hepmc/Manifest |
66 |
|
67 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/Manifest?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/Manifest?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: Manifest |
71 |
=================================================================== |
72 |
DIST HepMC-2.04.00.tar.gz 6360541 RMD160 d4781eb0ea849f13402b000e49eaf999518204bb SHA1 ea85e0694505a28c82041414085dc144e975bb8d SHA256 a221e6eda77b41fa7f073c7d37028314d7a77793555cd594944f59b34f2f947a |
73 |
EBUILD hepmc-2.04.00.ebuild 1138 RMD160 6637e41fa5c7c97779d72da43cc2a1a75aafb523 SHA1 a81ded1d10568216cfd7069c071beae5223bceb2 SHA256 17a98ed5ebf94d5872f7cc6e5bdf4c1164cc97670fa130e6c4bafe61accc2e2c |
74 |
MISC ChangeLog 314 RMD160 86dc3f9d2b728c2632b35b475564097370ceb11e SHA1 e8bd46059b0775e88f13bf7d6887586abc1ea44c SHA256 85fb9ef8dcd8aa1e8965782f09cbc0637739fd59047e09950d872df0d0473952 |
75 |
MISC metadata.xml 1291 RMD160 6f907411d6c897e4f01c06f97c535ea7c3af7875 SHA1 cb5af85bd4c34210192209a4f2242123982c3baa SHA256 56362a0f765e7b4ba3c38648e1930e1c1a253008d8e28a533ac407ee7d1b69ef |
76 |
|
77 |
|
78 |
|
79 |
1.1 sci-physics/hepmc/hepmc-2.04.00.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.04.00.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.04.00.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: hepmc-2.04.00.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2008 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.04.00.ebuild,v 1.1 2008/09/07 22:13:50 bicatali Exp $ |
89 |
|
90 |
MYP=HepMC-${PV} |
91 |
|
92 |
DESCRIPTION="Event Record for Monte Carlo Generators" |
93 |
HOMEPAGE="https://savannah.cern.ch/projects/hepmc/" |
94 |
SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz" |
95 |
|
96 |
LICENSE="GPL-2" |
97 |
SLOT="0" |
98 |
KEYWORDS="~amd64 ~x86" |
99 |
IUSE="doc examples gev cm" |
100 |
|
101 |
DEPEND="" |
102 |
|
103 |
S="${WORKDIR}/${MYP}" |
104 |
|
105 |
src_compile() { |
106 |
# random default choice: use MeV over GeV and mm over cm |
107 |
local length_conf="MM" |
108 |
use cm && length_conf="CM" |
109 |
local momentum_conf="MEV" |
110 |
use gev && momentum_conf="GEV" |
111 |
econf \ |
112 |
--with-length=${length_conf} \ |
113 |
--with-momentum=${momentum_conf} \ |
114 |
|| die "econf failed" |
115 |
emake || die "emake failed" |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake \ |
120 |
DESTDIR="${D}" \ |
121 |
INSTALLDIR=/usr/share/doc/${PF}/examples \ |
122 |
doc_installdir=/usr/share/doc/${PF} \ |
123 |
install || die "emake install failed" |
124 |
|
125 |
dodoc README AUTHORS ChangeLog |
126 |
insinto /usr/share/doc/${PF} |
127 |
if use doc; then |
128 |
doins -r doc/html || die |
129 |
else |
130 |
rm -f "${D}"/usr/share/doc/${PF}/*pdf |
131 |
fi |
132 |
use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples |
133 |
} |