db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / cloog / trunk / PKGBUILD
blobd932bc8051cac13cc7d19c47ecb4600a0b996dab
1 # Maintainer: Allan McRae <allan@archlinux.org>
3 pkgname=cloog
4 pkgver=0.18.1
5 pkgrel=3
6 pkgdesc="Library that generates loops for scanning polyhedra"
7 arch=('x86_64')
8 url="http://www.bastoul.net/cloog/"
9 license=('GPL')
10 depends=('isl')
11 source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz
12         cloog-0.18.1-isl-compat.patch)
13 md5sums=('e34fca0540d840e5d0f6427e98c92252'
14          '976c999b44c6e364455a670d12523242')
16 prepare() {
17   cd $srcdir/$pkgname-$pkgver
18   
19   # combination of upstream commits b561f860, 2d8b7c6b and 22643c94
20   patch -p1 -i $srcdir/cloog-0.18.1-isl-compat.patch
23 build() {
24   cd $srcdir/$pkgname-$pkgver
25   ./configure --prefix=/usr --with-isl=system
26   make
29 check() {
30   cd $srcdir/$pkgname-$pkgver
31   make check
34 package() {
35   cd $srcdir/$pkgname-$pkgver
36   make DESTDIR=$pkgdir/ install