2011-02-05 01:42:15 +00:00
|
|
|
# $Id: PKGBUILD 104416 2011-01-02 12:23:31Z allan $
|
2011-01-05 07:28:13 +00:00
|
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
|
|
# Contributor: ezzetabi <ezzetabi at gawab dot com>
|
2011-02-05 01:42:15 +00:00
|
|
|
|
2011-01-06 00:43:53 +00:00
|
|
|
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
|
2011-02-05 01:42:15 +00:00
|
|
|
# - no changes, here just to maintain this version
|
2011-01-06 00:43:53 +00:00
|
|
|
|
2011-01-10 00:36:22 +00:00
|
|
|
plugrel=1
|
2011-02-05 01:42:15 +00:00
|
|
|
noautobuild=1
|
2011-01-05 07:28:13 +00:00
|
|
|
|
|
|
|
pkgname=cloog-ppl
|
2011-02-05 01:42:15 +00:00
|
|
|
pkgver=0.15.10
|
2011-01-05 07:28:13 +00:00
|
|
|
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)
|
2011-02-05 01:42:15 +00:00
|
|
|
md5sums=('04aa756179b6d850d9ffa50f61b91895')
|
2011-01-05 07:28:13 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
2011-02-05 01:42:15 +00:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr --includedir=/usr/include/cloog-ppl \
|
2011-01-05 07:28:13 +00:00
|
|
|
--with-bits=gmp --with-ppl=/usr
|
|
|
|
make
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir/ install
|
2011-02-05 01:42:15 +00:00
|
|
|
mv $pkgdir/usr/bin/cloog{,-ppl}
|
2011-01-05 07:28:13 +00:00
|
|
|
}
|