blob: 89b510fcec2bec6cd9ea1658943986f15bb7401d (
plain) (
tree)
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com
pkgname=isl
pkgver=0.19
pkgrel=0
pkgdesc="An Integer Set Library for the Polyhedral Model"
url="http://isl.gforge.inria.fr/"
arch="all"
license="MIT"
depends=""
depends_dev="gmp-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
replaces="cloog"
install=""
subpackages="$pkgname-dev"
source="http://isl.gforge.inria.fr/isl-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-sysroot=${CBUILDROOT}
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" INSTALL="install -D" install
}
dev() {
default_dev
replaces="cloog-dev"
mkdir -p "$subpkgdir"/usr/share/gdb/python/auto-load/usr/lib
mv "$pkgdir"/usr/lib/*-gdb.py \
"$subpkgdir"/usr/share/gdb/python/auto-load/usr/lib/
}
sha512sums="08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083 isl-0.19.tar.bz2"
|