summaryrefslogtreecommitdiff
path: root/system/cloog/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/cloog/APKBUILD')
-rw-r--r--system/cloog/APKBUILD28
1 files changed, 7 insertions, 21 deletions
diff --git a/system/cloog/APKBUILD b/system/cloog/APKBUILD
index d39df3ba4..13cf097ee 100644
--- a/system/cloog/APKBUILD
+++ b/system/cloog/APKBUILD
@@ -1,12 +1,12 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=cloog
pkgver=0.18.4
pkgrel=1
pkgdesc="The Chunky Loop Generator"
url="http://www.cloog.org/"
arch="all"
-license="GPL-2.0-or-later"
+license="GPL-2.0+"
depends=""
depends_dev="gmp-dev isl-dev"
makedepends_host="$depends_dev"
@@ -15,19 +15,8 @@ install=""
subpackages="$pkgname-dev"
source="http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz"
-_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
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,16 +26,13 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--with-sysroot=${CBUILDROOT} \
- --with-isl=system \
- || return 1
- make || return 1
+ --with-isl=system
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" INSTALL="install -D" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" INSTALL="install -D" install
}
-md5sums="e531f725244856c92c9bba009ff44faf cloog-0.18.4.tar.gz"
-sha256sums="325adf3710ce2229b7eeb9e84d3b539556d093ae860027185e7af8a8b00a750e cloog-0.18.4.tar.gz"
sha512sums="d35d67b08ffe13c1a010b65bfe4dd02b0ae013d5b489e330dc950bd3514defca8f734bd37781856dcedf0491ff6122c34eecb4b0fe32a22d7e6bdadea98c8c23 cloog-0.18.4.tar.gz"