2012-06-20 16:11:22 +00:00
|
|
|
# $Id: PKGBUILD 162068 2012-06-19 12:27:34Z allan $
|
|
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2012-07-07 00:05:37 +00:00
|
|
|
# - no changes, just version hold
|
2012-06-20 16:11:22 +00:00
|
|
|
|
|
|
|
noautobuild=1
|
|
|
|
|
|
|
|
pkgname=cloog
|
2013-10-16 05:05:18 +00:00
|
|
|
pkgver=0.18.1
|
2014-06-11 12:17:39 +00:00
|
|
|
pkgrel=3
|
2012-06-20 16:11:22 +00:00
|
|
|
pkgdesc="Library that generates loops for scanning polyhedra"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.bastoul.net/cloog/"
|
|
|
|
license=('GPL')
|
2013-10-23 13:44:05 +00:00
|
|
|
depends=('isl')
|
2014-06-11 12:17:39 +00:00
|
|
|
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz
|
|
|
|
cloog-0.18.1-isl-compat.patch)
|
|
|
|
md5sums=('e34fca0540d840e5d0f6427e98c92252'
|
|
|
|
'976c999b44c6e364455a670d12523242')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
# combination of upstream commits b561f860, 2d8b7c6b and 22643c94
|
|
|
|
patch -p1 -i $srcdir/cloog-0.18.1-isl-compat.patch
|
|
|
|
}
|
2012-06-20 16:11:22 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2012-12-30 02:48:04 +00:00
|
|
|
./configure --prefix=/usr --with-isl=system
|
2012-06-20 16:11:22 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|