diff options
-rw-r--r-- | main/isl/APKBUILD | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/main/isl/APKBUILD b/main/isl/APKBUILD index 6c252f3b26..ca02e6debb 100644 --- a/main/isl/APKBUILD +++ b/main/isl/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=isl -pkgver=0.17.1 +pkgver=0.18 pkgrel=0 pkgdesc="An Integer Set Library for the Polyhedral Model" url="http://isl.gforge.inria.fr/" @@ -16,19 +16,10 @@ install="" subpackages="$pkgname-dev" source="http://isl.gforge.inria.fr/isl-$pkgver.tar.bz2" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,24 +27,21 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --with-sysroot=${CBUILDROOT} \ - || return 1 - make || return 1 + --with-sysroot=${CBUILDROOT} + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" INSTALL="install -D" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" INSTALL="install -D" install } dev() { - default_dev || return 1 + default_dev replaces="cloog-dev" mkdir -p "$subpkgdir"/usr/share/gdb/python/auto-load/usr/lib mv "$pkgdir"/usr/lib/*-gdb.py \ "$subpkgdir"/usr/share/gdb/python/auto-load/usr/lib/ } -md5sums="5184f543a013165e8057be59728664b1 isl-0.17.1.tar.bz2" -sha256sums="d6307bf9a59514087abac3cbaab3d99393a0abb519354f7e7834a8c842310daa isl-0.17.1.tar.bz2" -sha512sums="b84f6cab0d9fc7cb64f3afc35fc5f8c05db3456c569510788d65d402ebe8116eb49c327b8055eaebdfd0cac4764f279c1832d5440db6ffa0e52331ac52096058 isl-0.17.1.tar.bz2" +sha512sums="85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94 isl-0.18.tar.bz2" |