summaryrefslogtreecommitdiff
path: root/core/cloog-ppl/PKGBUILD
blob: c5d01e5b3c890fefad73369a2141d4c624bd16e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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}
}