looptools-2.15.ebuild
Загрузить (784 байта)
# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit fortran-2 MY_P=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/${MY_P}.tar.gz" LICENSE="LGPL-3" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc" PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) S="${WORKDIR}/${MY_P}" src_prepare() { default export VER="${PV}" # necessary fix for prefix sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die } src_install() { default dolib.so build/libooptools.so.2.15 rm "${ED}"/usr/$(get_libdir)/libooptools.a || die use doc && dodoc manual/*.pdf } | ||