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

32 lines
784 B
Bash

# Template file for 'isl15'
pkgname=isl15
version=0.19
revision=3
wrksrc="isl-${version}"
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=d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
post_install() {
# Remove gdb python files.
rm -f ${DESTDIR}/usr/lib/*.py
vlicense LICENSE
}
isl15-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
conflicts="isl-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}