1 |
bicatali 12/06/28 00:31:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: clhep-2.1.2.3.ebuild |
5 |
Log: |
6 |
Version bump. Switch to cmake build, added patch to respect libdir |
7 |
|
8 |
(Portage version: 2.1.11.1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.41 sci-physics/clhep/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.41&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.41&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.40&r2=1.41 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v |
20 |
retrieving revision 1.40 |
21 |
retrieving revision 1.41 |
22 |
diff -u -r1.40 -r1.41 |
23 |
--- ChangeLog 26 Jun 2012 06:09:11 -0000 1.40 |
24 |
+++ ChangeLog 28 Jun 2012 00:31:06 -0000 1.41 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-physics/clhep |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.40 2012/06/26 06:09:11 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.41 2012/06/28 00:31:06 bicatali Exp $ |
30 |
+ |
31 |
+*clhep-2.1.2.3 (28 Jun 2012) |
32 |
+ |
33 |
+ 28 Jun 2012; Sébastien Fabbro <bicatali@g.o> +clhep-2.1.2.3.ebuild, |
34 |
+ +files/clhep-2.1.2.3-libdir.patch: |
35 |
+ Version bump. Switch to cmake build, added patch to respect libdir |
36 |
|
37 |
26 Jun 2012; Justin Lecher <jlec@g.o> clhep-2.1.2.2.ebuild, |
38 |
+files/clhep-2.1.2.2-automake-1.12.patch, metadata.xml: |
39 |
@@ -161,4 +167,3 @@ |
40 |
06 Jun 2008; Sébastien Fabbro <bicatali@g.o> |
41 |
+files/clhep-2.0.3.3-gcc43.patch, +metadata.xml, +clhep-2.0.3.3.ebuild: |
42 |
Initial import, closing bug #98233 |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 sci-physics/clhep/clhep-2.1.2.3.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.3.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.3.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: clhep-2.1.2.3.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.2.3.ebuild,v 1.1 2012/06/28 00:31:06 bicatali Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
|
60 |
inherit cmake-utils multilib |
61 |
|
62 |
DESCRIPTION="High Energy Physics C++ library" |
63 |
HOMEPAGE="http://www.cern.ch/clhep" |
64 |
SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz" |
65 |
LICENSE="GPL-3 LGPL-3" |
66 |
SLOT="2" |
67 |
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux" |
68 |
|
69 |
IUSE="doc static-libs test" |
70 |
RDEPEND="" |
71 |
DEPEND="${RDEPEND} |
72 |
doc? ( virtual/latex-base )" |
73 |
|
74 |
S="${WORKDIR}/${PV}/CLHEP" |
75 |
|
76 |
src_prepare() { |
77 |
epatch "${FILESDIR}"/${P}-libdir.patch |
78 |
# respect flags |
79 |
sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die |
80 |
# dont build test if not asked |
81 |
if ! use test; then |
82 |
sed -i \ |
83 |
-e '/add_subdirectory(test)/d' \ |
84 |
*/CMakeLists.txt || die |
85 |
fi |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
local mycmakeargs=( |
90 |
$(cmake-utils_use_enable test TESTING) |
91 |
$(cmake-utils_use doc CLHEP_BUILD_DOCS) |
92 |
) |
93 |
DESTDIR="${ED}" cmake-utils_src_configure |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
cmake-utils_src_install |
98 |
use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a |
99 |
dodoc README ChangeLog |
100 |
} |