35 lines
841 B
Bash
35 lines
841 B
Bash
# Template file for 'isl'
|
|
pkgname=isl
|
|
version=0.24
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
makedepends="gmp-devel"
|
|
short_desc="Integer Set Library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://isl.gforge.inria.fr"
|
|
distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
|
|
checksum=fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0
|
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
# Remove gdb python files.
|
|
rm -f ${DESTDIR}/usr/lib/*.py
|
|
}
|
|
|
|
isl-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|