summaryrefslogtreecommitdiff
path: root/staging/ppl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/ppl/PKGBUILD')
-rw-r--r--staging/ppl/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/staging/ppl/PKGBUILD b/staging/ppl/PKGBUILD
new file mode 100644
index 000000000..0e5798dcd
--- /dev/null
+++ b/staging/ppl/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 162774 2012-06-30 08:11:58Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: ezzetabi <ezzetabi at gawab dot com>
+
+pkgname=ppl
+pkgver=1.0
+pkgrel=1
+pkgdesc="A modern library for convex polyhedra and other numerical abstractions."
+arch=('i686' 'x86_64')
+url="http://bugseng.com/products/ppl"
+license=('GPL3')
+depends=('gmp>=5.0')
+options=('!docs' '!libtool')
+source=(http://bugseng.com/products/ppl/download/ftp/releases/$pkgver/ppl-$pkgver.tar.gz{,.sign})
+md5sums=('c4566928c6b7bb63e95f96d1a7b5cb4c'
+ '5f490df826c76fed296060ca8fca4eb5')
+
+build() {
+ cd $srcdir/ppl-$pkgver
+ ./configure --prefix=/usr --enable-interfaces="c,cxx"
+ make
+}
+
+check() {
+ cd $srcdir/ppl-$pkgver
+ make check
+}
+
+package() {
+ cd $srcdir/ppl-$pkgver
+ make DESTDIR=$pkgdir install
+}
+