void-packages/srcpkgs/isl15/template
Colin Booth 8a246bfd5e isl15: fix license, template layout
Closes: #31756 [via git-merge-pr]
2021-07-04 00:15:51 -03:00

32 lines
786 B
Bash

# Template file for 'isl15'
pkgname=isl15
version=0.19
revision=2
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="http://freecode.com/projects/isl"
distfiles="http://isl.gforge.inria.fr/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"
}
}