forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template
35 lines (32 loc) · 841 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Template file for 'isl'
pkgname=isl
version=0.23
revision=1
bootstrap=yes
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Integer Set Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://isl.gforge.inria.fr"
distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
checksum=c58922c14ae7d0791a77932f377840890f19bc486b653fa64eba7f1026fb214d
if [ -z "$CHROOT_READY" ]; then
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
fi
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"
}
}