mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 00:34:38 +08:00
32 lines
722 B
Bash
32 lines
722 B
Bash
pkgname=isl
|
|
pkgver=0.15
|
|
pkgrel=2
|
|
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
|
|
arch=('x86_64')
|
|
url="http://isl.gforge.inria.fr/"
|
|
depends=('gmp')
|
|
license=('MIT')
|
|
source=("http://isl.gforge.inria.fr/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('8428efbbc6f6e2810ce5c1ba73ecf98c')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
|
|
install -dm755 $pkgdir/usr/share/gdb/auto-load/usr/lib/
|
|
mv $pkgdir/usr/lib/libisl.so.*-gdb.py $pkgdir/usr/share/gdb/auto-load/usr/lib/
|
|
|
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/isl/LICENSE
|
|
}
|