void-packages/srcpkgs/isl/template
2014-05-19 10:23:04 +02:00

34 lines
818 B
Bash

# Template file for 'isl'
pkgname=isl
version=0.12.2
revision=1
bootstrap=yes
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Integer Set Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freecode.com/projects/isl"
license="LGPL-2.1"
distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
checksum=f4b3dbee9712850006e44f0db2103441ab3d13b406f77996d1df19ee89d11fb4
if [ -z "$CHROOT_READY" ]; then
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
fi
post_install() {
# Remove gdb python files.
rm -f ${DESTDIR}/usr/lib/*.py
}
isl-devel_package() {
depends="gmp-devel isl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}