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
|
2013-02-18 14:14:59 +01:00
|
|
|
makedepends="gmp-devel"
|
2012-07-01 15:56:38 +02:00
|
|
|
short_desc="Integer Set Library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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
|
|
|
|
}
|
2013-04-11 09:52:59 +02:00
|
|
|
|
|
|
|
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"
|
2013-04-11 09:52:59 +02:00
|
|
|
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"
|
2013-04-11 09:52:59 +02:00
|
|
|
}
|
|
|
|
}
|