void-packages/srcpkgs/isl/template

36 lines
841 B
Bash

# Template file for 'isl'
pkgname=isl
version=0.23
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=c58922c14ae7d0791a77932f377840890f19bc486b653fa64eba7f1026fb214d
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"
}
}