summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ppl/PKGBUILD
blob: e432e181e8a71c084f5f571197e33ed68e692164 (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
# $Id: PKGBUILD 72640 2010-03-19 03:03:03Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: ezzetabi <ezzetabi at gawab dot com>

pkgname=ppl
pkgver=0.10.2
pkgrel=3
pkgdesc="A modern library for convex polyhedra and other numerical abstractions."
arch=('i686' 'x86_64')
url="http://www.cs.unipr.it/ppl"
license=('GPL3')
depends=('gmp>=5.0')
options=('!docs' '!libtool')
source=(http://www.cs.unipr.it/ppl/Download/ftp/releases/$pkgver/ppl-$pkgver.tar.gz
        ppl-0.10.2-gmp-5.0.patch)
md5sums=('e7dd265afdeaea81f7e87a72b182d875'
         '4da347693c76ccccba4fb5b60ca0f321')

build() {
  cd $srcdir/ppl-$pkgver
  patch -Np1 -i $srcdir/ppl-0.10.2-gmp-5.0.patch
  autoreconf -vf

  ./configure --prefix=/usr --enable-interfaces="c,cxx" || return 1
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}