/[gentoo-x86]/sci-physics/clhep/clhep-2.1.2.2.ebuild
Gentoo

Diff of /sci-physics/clhep/clhep-2.1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/Attic/clhep-2.1.2.2.ebuild,v 1.2 2012/06/06 04:37:11 heroxbd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/Attic/clhep-2.1.2.2.ebuild,v 1.3 2012/06/26 06:09:11 jlec Exp $
4 4
5EAPI=4 5EAPI=4
6
7AUTOTOOLS_AUTORECONF=yes
8
6inherit autotools eutils 9inherit autotools-utils
7 10
8DESCRIPTION="High Energy Physics C++ library" 11DESCRIPTION="High Energy Physics C++ library"
9HOMEPAGE="http://www.cern.ch/clhep" 12HOMEPAGE="http://www.cern.ch/clhep"
10SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz" 13SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz"
11LICENSE="public-domain" 14LICENSE="public-domain"
15IUSE="exceptions static-libs" 18IUSE="exceptions static-libs"
16RDEPEND="" 19RDEPEND=""
17DEPEND="${RDEPEND}" 20DEPEND="${RDEPEND}"
18 21
19S="${WORKDIR}/${PV}/CLHEP" 22S="${WORKDIR}/${PV}/CLHEP"
23
24PATCHES=( "${FILESDIR}"/${P}-automake-1.12.patch )
20 25
21src_prepare() { 26src_prepare() {
22 local d 27 local d
23 for d in $(find . -name configure.ac); do 28 for d in $(find . -name configure.ac); do
24 # respect user flags and fix some compilers stuff 29 # respect user flags and fix some compilers stuff
35 -e 's|: %\.cc|: %\.cc \$(shareddir)|' \ 40 -e 's|: %\.cc|: %\.cc \$(shareddir)|' \
36 -e 's|all-local: \$(shareddir)|all-local: |' \ 41 -e 's|all-local: \$(shareddir)|all-local: |' \
37 ${d} || die 42 ${d} || die
38 # fixing parallel build 43 # fixing parallel build
39 done 44 done
40 eautoreconf 45 autotools-utils_src_prepare
41} 46}
42 47
43src_configure() { 48src_configure() {
44 econf \ 49 local myeconfargs=( $(use_enable exceptions) )
45 $(use_enable exceptions) \ 50 autotools-utils_src_configure
46 $(use_enable static-libs static)
47} 51}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20