summaryrefslogtreecommitdiff
path: root/main/isl24/APKBUILD
blob: 820181f19a1ebd865bd8034854af7a2119d630e3 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>

# this package needs special care since it is a part of the toolchain.
# we need to be able to have the old version installed in parallel with
# a new with ABI breaking change. That is why we have the version
# as a part of the pkgname.

pkgname=isl24
pkgver=0.24
pkgrel=1
pkgdesc="An Integer Set Library for the Polyhedral Model"
url="http://isl.gforge.inria.fr/"
arch="all"
license="MIT"
depends_dev="gmp-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
source="https://libisl.sourceforge.io/isl-$pkgver.tar.bz2"

builddir="$srcdir"/isl-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-sysroot=${CBUILDROOT}
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" INSTALL="install -D" install
	# isl-dev is provided by isl25
	rm -rf "$pkgdir"/usr/include \
		"$pkgdir"/usr/lib/pkgconfig \
		"$pkgdir"/usr/lib/*.a \
		"$pkgdir"/usr/lib/*.so \
		"$pkgdir"/usr/lib/*.py
}

sha512sums="
aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95  isl-0.24.tar.bz2
"