mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/ppl: drop old
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ppl-1.1.tar.xz 14734820 BLAKE2B 2c96d86b534c7f06569bfe37d0ca1938b0c7c708b38d62e210d868db005275e392b2cc9e6dded7d4a5bf1e901136c298b0ff86d2933dc89b4607d5ef9e286b86 SHA512 ae0503fb3eac494fa3edf5d5c9ec61e2419e6e2fa57d30323f7d0360ff080b033686410c7462f5b2ff5514803451cb91e9c0fc14cf953485c5f5fd664448cc27
|
||||
DIST ppl-1.2.tar.xz 14136236 BLAKE2B 060b73384dac558dc8b2b0f1027ed0aa270b0adf0992c2ca1a281fa7bcdf959cba3a9e8ee29e978d12c3eee606b819075c5bcab59f4aed24fbf1c5512b5e2c36 SHA512 b509ed85fa6aedd40119bd4c980b17f33072c56c2acd923da3445b6bc80d48051cfa4c04cce96f6974711f5279c24b31cb3869f87b2eb6a2a1b30a058c809350
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="The Parma Polyhedra Library for numerical analysis of complex systems"
|
||||
HOMEPAGE="http://bugseng.com/products/ppl"
|
||||
SRC_URI="http://bugseng.com/products/ppl/download/ftp/releases/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/4.13" # SONAMEs
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~sparc-solaris"
|
||||
IUSE="+cxx doc lpsol pch static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-6[cxx]
|
||||
lpsol? ( sci-mathematics/glpk )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
sys-devel/m4"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_setup() {
|
||||
if use test ; then
|
||||
ewarn "The PPL testsuite will be run."
|
||||
ewarn "Note that this can take several hours to complete on a fast machine."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local interfaces=( c )
|
||||
use cxx && interfaces+=( cxx )
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--disable-debugging \
|
||||
--disable-optimization \
|
||||
$(use_enable doc documentation) \
|
||||
$(use_enable lpsol ppl_lpsol) \
|
||||
$(use_enable pch) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-interfaces="${interfaces[*]}" \
|
||||
$(use test && echo --enable-check=quick)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# default src_test runs with -j1, overriding it here saves about
|
||||
# 30 minutes and is recommended by upstream
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}"/usr -name 'libppl*.la' -delete
|
||||
|
||||
pushd "${ED}/usr/share/doc/${PF}" >/dev/null || die
|
||||
rm gpl* fdl* || die
|
||||
if ! use doc; then
|
||||
rm -r *-html/ *.ps.gz *.pdf || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user