commit: ebbe9d43e04c06b732722537b8dad49d805aef7c Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> AuthorDate: Sun Jun 7 09:33:07 2015 +0000 Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> CommitDate: Sun Jun 7 09:33:07 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ebbe9d43
[sci-physics/looptools] version bump sci-physics/looptools/ChangeLog | 7 +++++- sci-physics/looptools/looptools-2.12.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/sci-physics/looptools/ChangeLog b/sci-physics/looptools/ChangeLog index 6e59033..407587a 100644 --- a/sci-physics/looptools/ChangeLog +++ b/sci-physics/looptools/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for sci-physics/looptools -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*looptools-2.12 (07 Jun 2015) + + 07 Jun 2015; Jauhien Piatlicki <jauh...@gentoo.org> +looptools-2.12.ebuild: + version bump + *looptools-2.11 (31 Aug 2014) *looptools-2.10 (31 Aug 2014) *looptools-2.9 (31 Aug 2014) diff --git a/sci-physics/looptools/looptools-2.12.ebuild b/sci-physics/looptools/looptools-2.12.ebuild new file mode 100644 index 0000000..66a959c --- /dev/null +++ b/sci-physics/looptools/looptools-2.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils fortran-2 multilib + +MYP=LoopTools-${PV} + +DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals" +HOMEPAGE="http://www.feynarts.de/looptools" +SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz" + +LICENSE="LGPL-3" + +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +DEPEND="virtual/fortran" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.10-makefile.patch + export VER="${PV}" + # necessary fix for prefix + sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die +} + +src_install() { + default + # another one of these package building archive with pic + # no: ooptools is not a typo + use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a + use doc && dodoc manual/*.pdf +}