core/ppl/PKGBUILD

37 lines
933 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=ppl
pkgver=0.11.2
pkgrel=1
# dash the next line if you want to skip the tests
_test=1
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' 'log')
source=(http://www.cs.unipr.it/ppl/Download/ftp/releases/$pkgver/ppl-$pkgver.tar.gz)
md5sums=('ce014f153a28006009db207ca953a984')
build() {
cd $srcdir/ppl-$pkgver
./configure --prefix=/usr --enable-interfaces="c,cxx"
make
if [ -n "${_test}" ]; then
echo "<<< STARTING TESTS >>>"
make check
echo "<<< ENDING TESTS >>>"
fi
}
package() {
cd $srcdir/ppl-$pkgver
make DESTDIR=$pkgdir install
}