summaryrefslogtreecommitdiff
path: root/core/isl/PKGBUILD
blob: 9fc3e3ca661e696771e6f1acdd22b9b275de54c9 (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
33
# $Id: PKGBUILD 119089 2011-04-10 21:34:57Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>

pkgname=isl
pkgver=0.06
pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kotnet.org/~skimo/isl/"
license=('LGPL2.1')
options=('!libtool')
source=(http://www.kotnet.org/~skimo/isl/$pkgname-$pkgver.tar.bz2)
md5sums=('504f054eaffdd8d07c497ebe3ebc7e04')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make check
}

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
}