void-packages/srcpkgs/isl/template

35 lines
818 B
Plaintext
Raw Normal View History

2012-07-01 15:56:38 +02:00
# Template file for 'isl'
pkgname=isl
2014-01-19 09:24:25 +01:00
version=0.12.2
2013-06-25 09:42:07 +02:00
revision=1
2014-05-19 10:17:55 +02:00
bootstrap=yes
2012-07-01 15:56:38 +02:00
build_style=gnu-configure
makedepends="gmp-devel"
2012-07-01 15:56:38 +02:00
short_desc="Integer Set Library"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-08-18 07:44:22 +02:00
homepage="http://freecode.com/projects/isl"
2012-07-01 15:56:38 +02:00
license="LGPL-2.1"
2014-01-19 09:24:25 +01:00
distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
checksum=f4b3dbee9712850006e44f0db2103441ab3d13b406f77996d1df19ee89d11fb4
2012-07-01 15:56:38 +02:00
2014-05-19 10:23:04 +02:00
if [ -z "$CHROOT_READY" ]; then
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
fi
2012-07-01 15:56:38 +02:00
post_install() {
# Remove gdb python files.
rm -f ${DESTDIR}/usr/lib/*.py
}
isl-devel_package() {
2014-01-19 09:24:25 +01:00
depends="gmp-devel isl>=${version}_${revision}"
2013-06-25 09:42:07 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-06-25 09:42:07 +02:00
vmove "usr/lib/*.so"
}
}