void-packages/srcpkgs/isl15/template

31 lines
774 B
Bash

# Template file for 'isl15'.
pkgname=isl15
version=0.19
revision=1
wrksrc="isl-${version}"
bootstrap=yes
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Integer Set Library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://freecode.com/projects/isl"
license="LGPL-2.1"
distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
checksum=d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
post_install() {
# Remove gdb python files.
rm -f ${DESTDIR}/usr/lib/*.py
}
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"
}
}