blob: 008a5ca6ae4de3016191fe097da7da0a95f3c061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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}"/${P}-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
}
|