diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-12 11:04:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 11:10:14 +0000 |
commit | c38530c6e97a0b879b3a5d9a4c5d5dc39e592cbc (patch) | |
tree | c8daeec32a7352a49068d22b56db6c1398fa2b8e /main | |
parent | 6e355d19511f7e18b78dad9268b1e63478b3de6f (diff) | |
download | aports-c38530c6e97a0b879b3a5d9a4c5d5dc39e592cbc.tar.bz2 aports-c38530c6e97a0b879b3a5d9a4c5d5dc39e592cbc.tar.xz |
main/cloog: use system isl and fix crosscompile
Diffstat (limited to 'main')
-rw-r--r-- | main/cloog/APKBUILD | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD index 398b73fee5..22ad47ac31 100644 --- a/main/cloog/APKBUILD +++ b/main/cloog/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cloog pkgver=0.18.0 -pkgrel=0 +pkgrel=1 pkgdesc="The Chunky Loop Generator" url="http://www.cloog.org/" arch="all" license="GPLv2+" depends= -makedepends="gmp-dev" +depends_dev="gmp-dev isl-dev" +makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://www.bastoul.net/cloog/pages/download/cloog-$pkgver.tar.gz" @@ -31,6 +32,10 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ + --build=${CBUILD} \ + --host=${CHOST} \ + --with-sysroot=${CBUILDROOT} \ + --with-isl=system \ || return 1 make || return 1 } @@ -41,11 +46,4 @@ package() { rm -f "$pkgdir"/usr/lib/*.la } -dev() { - default_dev || return 1 - 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="be78a47bd82523250eb3e91646db5b3d cloog-0.18.0.tar.gz" |