summaryrefslogtreecommitdiff
path: root/extra/ppl/PKGBUILD
blob: b19c83859ee1d4e23c8ef02d89016cf5833f5dde (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
32
# $Id: PKGBUILD 197777 2013-10-30 02:07:55Z eric $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: ezzetabi <ezzetabi at gawab dot com>

pkgname=ppl
pkgver=1.1
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')
options=('!docs')
source=(http://bugseng.com/products/ppl/download/ftp/releases/$pkgver/ppl-$pkgver.tar.gz{,.sign})
md5sums=('4f2422c0ef3f409707af32108deb30a7'
         'SKIP')

build() {
  cd ppl-$pkgver
  ./configure --prefix=/usr --enable-interfaces="c,cxx"
  make
}

check() {
  cd ppl-$pkgver
  make check
}

package() {
  cd ppl-$pkgver
  make DESTDIR="$pkgdir" install
}