summaryrefslogtreecommitdiff
path: root/system/isl/APKBUILD
blob: a9850bf27fa2ae7b4bdbd6a3702b1497db0d9d71 (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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=isl
pkgver=0.20
pkgrel=0
pkgdesc="Integer Set Library"
url="https://libisl.sourceforge.io/"
arch="all"
options="!dbg strip" # Static libs only
license="MIT"
depends=""
depends_dev="gmp-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
replaces="cloog"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/project/libisl/isl-$pkgver.tar.bz2"

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" INSTALL="install -D" install
}

sha512sums="afe2e159b74646a26449268637403d271f9e3f6410d8cc1c9cffca41370c4357b165dea844db0c2a654591f954e54710dda650c8088abd4711406aa6302da950  isl-0.20.tar.bz2"