aboutsummaryrefslogtreecommitdiffstats
path: root/main/cloog
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-04-01 11:38:10 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-04-05 11:54:58 +0000
commit0bb83ca8b8d017d9f2af8682babc6abb336545bf (patch)
tree57d319abc66209ddb91da32178118570e6f76055 /main/cloog
parented64a44243fe09104112b4e2b1be51022447e3dc (diff)
downloadaports-0bb83ca8b8d017d9f2af8682babc6abb336545bf.tar.bz2
aports-0bb83ca8b8d017d9f2af8682babc6abb336545bf.tar.xz
main/cloog: modernize abuild
Diffstat (limited to 'main/cloog')
-rw-r--r--main/cloog/APKBUILD28
1 files changed, 7 insertions, 21 deletions
diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD
index d39df3ba4e..9b7f8f733e 100644
--- a/main/cloog/APKBUILD
+++ b/main/cloog/APKBUILD
@@ -2,32 +2,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cloog
pkgver=0.18.4
-pkgrel=1
+pkgrel=2
pkgdesc="The Chunky Loop Generator"
url="http://www.cloog.org/"
arch="all"
license="GPL-2.0-or-later"
-depends=""
depends_dev="gmp-dev isl-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
-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
-}
+builddir="$srcdir/$pkgname-$pkgver"
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"