PKGBUILDs/core/cloog/PKGBUILD

45 lines
997 B
Bash
Raw Normal View History

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
2012-12-30 02:48:04 +00:00
pkgver=0.18.0
2013-06-20 12:48:53 +00:00
pkgrel=2
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')
depends=('isl' 'gmp')
options=('!libtool')
2013-06-20 12:48:53 +00:00
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz
cloog-0.18.0-isl-0.11.2.patch)
md5sums=('be78a47bd82523250eb3e91646db5b3d'
'1bec9a7f1c3e9e0f3f10f23898f7148d')
prepare() {
cd $srcdir/$pkgname-$pkgver
# test-suite fix - commit fc8b0627
patch -p1 -i $srcdir/cloog-0.18.0-isl-0.11.2.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
}