aboutsummaryrefslogtreecommitdiffstats
path: root/main/isl/APKBUILD
blob: ebff80b38b1cfd453ad232ab8968e70c5c4e1387 (plain) (blame)
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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=isl
pkgver=0.18
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"
replaces="cloog"
subpackages=""
source="http://isl.gforge.inria.fr/isl-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$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 isl22
	rm -rf "$pkgdir"/usr/include \
		"$pkgdir"/usr/lib/pkgconfig \
		"$pkgdir"/usr/lib/*.a \
		"$pkgdir"/usr/lib/*.so \
		"$pkgdir"/usr/lib/*.py
}

sha512sums="85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94  isl-0.18.tar.bz2"