diff options
Diffstat (limited to 'core/cloog-ppl/PKGBUILD')
-rw-r--r-- | core/cloog-ppl/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/cloog-ppl/PKGBUILD b/core/cloog-ppl/PKGBUILD new file mode 100644 index 000000000..c5d01e5b3 --- /dev/null +++ b/core/cloog-ppl/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104416 2011-01-02 12:23:31Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: ezzetabi <ezzetabi at gawab dot com> + +pkgname=cloog-ppl +pkgver=0.15.10 +pkgrel=2 +pkgdesc="Library that generates loops for scanning polyhedra" +arch=('i686' 'x86_64') +url="http://www.cloog.org/" +license=('GPL') +depends=('ppl>=0.11') +options=('!libtool') +source=(ftp://gcc.gnu.org/pub/gcc/infrastructure/${pkgname}-${pkgver}.tar.gz) +md5sums=('04aa756179b6d850d9ffa50f61b91895') + +build() { + cd $srcdir/$pkgname-$pkgver + + ./autogen.sh + ./configure --prefix=/usr --includedir=/usr/include/cloog-ppl \ + --with-bits=gmp --with-ppl=/usr + make + make check +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir/ install + mv $pkgdir/usr/bin/cloog{,-ppl} +} |