void-packages/srcpkgs/isl/template
2021-10-08 18:20:29 +02:00

35 lines
845 B
Bash

# Template file for 'isl'
pkgname=isl
version=0.24
revision=2
bootstrap=yes
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Integer Set Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://libisl.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/libisl/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"
}
}