2010-04-04 22:20:41 +08:00
|
|
|
# $Id: PKGBUILD 72640 2010-03-19 03:03:03Z allan $
|
2010-03-13 23:25:19 +08:00
|
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
|
|
# Contributor: ezzetabi <ezzetabi at gawab dot com>
|
|
|
|
|
|
|
|
pkgname=ppl
|
|
|
|
pkgver=0.10.2
|
2010-03-22 04:46:45 +08:00
|
|
|
pkgrel=3
|
2010-03-13 23:25:19 +08:00
|
|
|
pkgdesc="A modern library for convex polyhedra and other numerical abstractions."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.cs.unipr.it/ppl"
|
|
|
|
license=('GPL3')
|
2010-04-04 22:20:41 +08:00
|
|
|
depends=('gmp>=5.0')
|
2010-03-13 23:25:19 +08:00
|
|
|
options=('!docs' '!libtool')
|
2010-04-04 22:20:41 +08:00
|
|
|
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')
|
2010-03-13 23:25:19 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/ppl-$pkgver
|
2010-04-04 22:20:41 +08:00
|
|
|
patch -Np1 -i $srcdir/ppl-0.10.2-gmp-5.0.patch
|
|
|
|
autoreconf -vf
|
|
|
|
|
2010-03-13 23:25:19 +08:00
|
|
|
./configure --prefix=/usr --enable-interfaces="c,cxx" || return 1
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
}
|