You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI="6"
|
||
6 years ago
|
|
||
|
inherit eutils multilib-minimal preserve-libs
|
||
|
|
||
|
DESCRIPTION="A library for manipulating integer points bounded by linear constraints"
|
||
|
HOMEPAGE="http://isl.gforge.inria.fr/"
|
||
|
SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz"
|
||
|
|
||
|
LICENSE="LGPL-2.1"
|
||
5 years ago
|
SLOT="0/22"
|
||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
|
||
6 years ago
|
IUSE="static-libs"
|
||
|
|
||
|
RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]"
|
||
|
DEPEND="${RDEPEND}
|
||
|
app-arch/xz-utils
|
||
|
virtual/pkgconfig"
|
||
|
|
||
|
DOCS=( ChangeLog AUTHORS doc/manual.pdf )
|
||
|
|
||
5 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-0.19-gdb-autoload-dir.patch
|
||
|
)
|
||
6 years ago
|
|
||
|
multilib_src_configure() {
|
||
|
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||
|
}
|
||
|
|
||
|
multilib_src_install_all() {
|
||
|
einstalldocs
|
||
5 years ago
|
find "${ED}" -type f -name '*.la' -delete
|
||
6 years ago
|
}
|
||
|
|
||
|
pkg_preinst() {
|
||
|
preserve_old_lib \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 14) \
|
||
5 years ago
|
/usr/$(get_libdir)/libisl$(get_libname 15) \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 19) \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 21)
|
||
6 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
preserve_old_lib_notify \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 14) \
|
||
5 years ago
|
/usr/$(get_libdir)/libisl$(get_libname 15) \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 19) \
|
||
|
/usr/$(get_libdir)/libisl$(get_libname 21)
|
||
6 years ago
|
}
|