diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-11-25 21:59:14 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-11-25 21:59:14 +0000 |
commit | da90ac0bc093cccfe1063ce5d7d0a8e252adcc3b (patch) | |
tree | 71a7c5dacd09f115c4eea2a958390948498ff13d /sci-physics/clhep | |
parent | Marked ~hppa too. (diff) | |
download | gentoo-2-da90ac0bc093cccfe1063ce5d7d0a8e252adcc3b.tar.gz gentoo-2-da90ac0bc093cccfe1063ce5d7d0a8e252adcc3b.tar.bz2 gentoo-2-da90ac0bc093cccfe1063ce5d7d0a8e252adcc3b.zip |
Version bump, thanks Oliver Freyermuth
(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-physics/clhep')
-rw-r--r-- | sci-physics/clhep/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/clhep/clhep-2.1.4.1.ebuild | 54 |
2 files changed, 61 insertions, 2 deletions
diff --git a/sci-physics/clhep/ChangeLog b/sci-physics/clhep/ChangeLog index 669e19af0b79..93a00de4e7bf 100644 --- a/sci-physics/clhep/ChangeLog +++ b/sci-physics/clhep/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/clhep -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.44 2012/11/30 21:59:52 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.45 2013/11/25 21:59:14 bicatali Exp $ + +*clhep-2.1.4.1 (25 Nov 2013) + + 25 Nov 2013; Sébastien Fabbro <bicatali@gentoo.org> +clhep-2.1.4.1.ebuild: + Version bump, thanks Oliver Freyermuth *clhep-2.1.3.1 (30 Nov 2012) diff --git a/sci-physics/clhep/clhep-2.1.4.1.ebuild b/sci-physics/clhep/clhep-2.1.4.1.ebuild new file mode 100644 index 000000000000..5119d749a790 --- /dev/null +++ b/sci-physics/clhep/clhep-2.1.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.4.1.ebuild,v 1.1 2013/11/25 21:59:14 bicatali Exp $ + +EAPI=5 + +inherit cmake-utils multilib + +DESCRIPTION="High Energy Physics C++ library" +HOMEPAGE="http://www.cern.ch/clhep" +SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz" +LICENSE="GPL-3 LGPL-3" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc static-libs test" +RDEPEND="" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base )" + +S="${WORKDIR}/${PV}/CLHEP" + +src_prepare() { + # respect flags + sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die + # no batch mode to allow parallel building (bug #437482) + sed -i \ + -e 's:-interaction=batchmode::g' \ + cmake/Modules/ClhepBuildTex.cmake || die + # gentoo doc directory + sed -i \ + -e "/DESTINATION/s:doc:share/doc/${PF}:" \ + cmake/Modules/ClhepBuildTex.cmake */doc/CMakeLists.txt || die + # dont build test if not asked + if ! use test; then + sed -i \ + -e '/add_subdirectory(test)/d' \ + */CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable test TESTING) + $(cmake-utils_use doc CLHEP_BUILD_DOCS) + ) + DESTDIR="${ED}" cmake-utils_src_configure + use doc && MAKEOPTS+=" -j1" +} + +src_install() { + cmake-utils_src_install + use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a +} |