1 |
commit: 8ec4a589ed1eab521b3b6a5f77d638e707db38d4 |
2 |
Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 31 17:09:47 2014 +0000 |
4 |
Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 31 17:09:47 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8ec4a589 |
7 |
|
8 |
sci-physics/herwig++: version bump |
9 |
|
10 |
--- |
11 |
sci-physics/herwig++/ChangeLog | 5 +++ |
12 |
sci-physics/herwig++/herwig++-2.7.1.ebuild | 57 ++++++++++++++++++++++++++++++ |
13 |
2 files changed, 62 insertions(+) |
14 |
|
15 |
diff --git a/sci-physics/herwig++/ChangeLog b/sci-physics/herwig++/ChangeLog |
16 |
index 3173f38..52bed34 100644 |
17 |
--- a/sci-physics/herwig++/ChangeLog |
18 |
+++ b/sci-physics/herwig++/ChangeLog |
19 |
@@ -2,6 +2,11 @@ |
20 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
21 |
# $Header: $ |
22 |
|
23 |
+*herwig++-2.7.1 (31 Aug 2014) |
24 |
+ |
25 |
+ 31 Aug 2014; Jauhien Piatlicki <jauhien@g.o> +herwig++-2.7.1.ebuild: |
26 |
+ version bump |
27 |
+ |
28 |
31 Aug 2014; Jauhien Piatlicki <jauhien@g.o> herwig++-2.7.0-r1.ebuild: |
29 |
fix dependency on sci-physics/looptools |
30 |
|
31 |
|
32 |
diff --git a/sci-physics/herwig++/herwig++-2.7.1.ebuild b/sci-physics/herwig++/herwig++-2.7.1.ebuild |
33 |
new file mode 100644 |
34 |
index 0000000..1a48d65 |
35 |
--- /dev/null |
36 |
+++ b/sci-physics/herwig++/herwig++-2.7.1.ebuild |
37 |
@@ -0,0 +1,57 @@ |
38 |
+# Copyright 1999-2014 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+# $Header: $ |
41 |
+ |
42 |
+EAPI=5 |
43 |
+ |
44 |
+AUTOTOOLS_AUTORECONF=1 |
45 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
46 |
+ |
47 |
+inherit autotools-utils eutils flag-o-matic multilib |
48 |
+ |
49 |
+MYP=Herwig++-${PV} |
50 |
+ |
51 |
+DESCRIPTION="High-Energy Physics event generator" |
52 |
+HOMEPAGE="http://herwig.hepforge.org/" |
53 |
+SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2" |
54 |
+ |
55 |
+LICENSE="GPL-2" |
56 |
+ |
57 |
+SLOT="0/15" |
58 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+IUSE="c++0x fastjet static-libs" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-libs/boost:0= |
63 |
+ sci-libs/gsl:0= |
64 |
+ <=sci-physics/looptools-2.8:0= |
65 |
+ >=sci-physics/thepeg-1.9.2:0= |
66 |
+ fastjet? ( sci-physics/fastjet:0= )" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ virtual/fortran" |
69 |
+ |
70 |
+S="${WORKDIR}/${MYP}" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch |
74 |
+ find -name 'Makefile.am' -exec \ |
75 |
+ sed -i -e '1ipkgdatadir=$(datadir)/herwig++' {} \; || die |
76 |
+ autotools-utils_src_prepare |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ use prefix && \ |
81 |
+ append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/ThePEG |
82 |
+ local myeconfargs=( |
83 |
+ --with-boost="${EPREFIX}"/usr |
84 |
+ --with-thepeg="${EPREFIX}"/usr |
85 |
+ $(use_enable c++0x stdcxx11) |
86 |
+ $(use_with fastjet fastjet "${EPREFIX}"/usr) |
87 |
+ ) |
88 |
+ autotools-utils_src_configure |
89 |
+} |
90 |
+ |
91 |
+pkg_preinst () { |
92 |
+ sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/defaults/PDF.in || die |
93 |
+ sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/HerwigDefaults.rpo || die |
94 |
+} |