updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lib32-cloog-ppl / PKGBUILD
blobcc9bb36a55caa0d0ba26d04b11727b16a5795ab2
1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
3 _pkgbasename=cloog
4 pkgname=lib32-$_pkgbasename-ppl
5 pkgver=0.16.1
6 pkgrel=1
7 pkgdesc="Library that generates loops for scanning polyhedra (32 bit)"
8 arch=('i686' 'x86_64')
9 url="http://www.cloog.org/"
10 license=('GPL')
11 depends=('lib32-ppl>=0.11' 'lib32-gmp')
12 makedepends=('gcc-multilib')
13 options=('!libtool')
14 source=("http://www.bastoul.net/cloog/pages/download/cloog-parma-$pkgver.tar.gz")
15 md5sums=('f483539b30a60a3478eea70c77b26bef')
17 build() {
18   cd $srcdir/cloog-parma-$pkgver
20   ./configure --prefix=/usr --includedir=/usr/include/cloog-ppl \
21     --with-bits=gmp --with-ppl=/usr --libdir=/usr/lib32 CC='gcc -m32'
22   make
25 check() {
26   cd $srcdir/cloog-parma-$pkgver
27   make check
30 package() {
31   cd $srcdir/cloog-parma-$pkgver
32   make DESTDIR=$pkgdir/ install
33   rm -rf $pkgdir/usr/{bin,include}