Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/clhep: ChangeLog clhep-2.1.2.2.ebuild
Date: Fri, 02 Mar 2012 05:45:23
Message-Id: 20120302054513.57ACA2004B@flycatcher.gentoo.org
1 bicatali 12/03/02 05:45:13
2
3 Modified: ChangeLog
4 Added: clhep-2.1.2.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.38 sci-physics/clhep/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 29 Dec 2011 08:44:38 -0000 1.37
24 +++ ChangeLog 2 Mar 2012 05:45:13 -0000 1.38
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/clhep
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.37 2011/12/29 08:44:38 bicatali Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.38 2012/03/02 05:45:13 bicatali Exp $
31 +
32 +*clhep-2.1.2.2 (02 Mar 2012)
33 +
34 + 02 Mar 2012; Sébastien Fabbro <bicatali@g.o> +clhep-2.1.2.2.ebuild:
35 + Version bump
36
37 *clhep-2.1.2.0 (29 Dec 2011)
38
39
40
41
42 1.1 sci-physics/clhep/clhep-2.1.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: clhep-2.1.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.2.2.ebuild,v 1.1 2012/03/02 05:45:13 bicatali Exp $
52
53 EAPI=4
54 inherit autotools eutils
55
56 DESCRIPTION="High Energy Physics C++ library"
57 HOMEPAGE="http://www.cern.ch/clhep"
58 SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz"
59 LICENSE="public-domain"
60 SLOT="2"
61 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
62
63 IUSE="exceptions static-libs"
64 RDEPEND=""
65 DEPEND="${RDEPEND}"
66
67 S="${WORKDIR}/${PV}/CLHEP"
68
69 src_prepare() {
70 local d
71 for d in $(find . -name configure.ac); do
72 # respect user flags and fix some compilers stuff
73 sed -i \
74 -e 's:^g++):*g++):g' \
75 -e 's:^icc):icc|icpc):g' \
76 -e '/AM_CXXFLAGS=/s:-O ::g' \
77 ${d} || die
78 # need to rebuild because original configurations
79 # have buggy detection
80 done
81 for d in $(find . -name Makefile.am | xargs grep -l ": %\.cc"); do
82 sed -i \
83 -e 's|: %\.cc|: %\.cc \$(shareddir)|' \
84 -e 's|all-local: \$(shareddir)|all-local: |' \
85 ${d} || die
86 # fixing parallel build
87 done
88 eautoreconf
89 }
90
91 src_configure() {
92 econf \
93 $(use_enable exceptions) \
94 $(use_enable static-libs static)
95 }