void-packages/srcpkgs/isl/template
2021-10-29 15:57:46 +02:00

29 lines
714 B
Bash

# Template file for 'isl'
pkgname=isl
version=0.24
revision=2
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
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"
}
}