core/isl/PKGBUILD

39 lines
1.0 KiB
Bash
Raw Normal View History

#
# 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=isl
pkgver=0.06
pkgrel=2
# dash the next line if you want to skip the tests
_test=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('i686' 'x86_64')
url="http://www.kotnet.org/~skimo/isl/"
license=('LGPL2.1')
options=('!libtool' 'log')
source=(http://www.kotnet.org/~skimo/isl/$pkgname-$pkgver.tar.bz2)
md5sums=('504f054eaffdd8d07c497ebe3ebc7e04')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
if [ -n "${_test}" ]; then
echo "<<< STARTING TESTS >>>"
make check
echo "<<< ENDING TESTS >>>"
fi
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir/" install
# this seems a better place for this file...
install -dm755 $pkgdir/usr/share/gdb/auto-load/
mv $pkgdir/usr/{lib,share/gdb/auto-load}/libisl.so.6.0.0-gdb.py
}