void-packages/srcpkgs/isl/template

30 lines
709 B
Bash

# Template file for 'isl'
pkgname=isl
version=0.25
revision=1
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Integer Set Library"
maintainer="dkwo <npiazza@disroot.org>"
license="MIT"
homepage="https://libisl.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/libisl/isl-${version}.tar.bz2"
checksum=4305c54d4eebc4bf3ce365af85f04984ef5aa97a52e01128445e26da5b1f467a
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"
}
}