summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22614d2a8a9e2b34876547542f2cd4a7782d3450 (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
34
35
36
37
38
# Maintainer: Liam Greenough (beacon515@gmail.com)
#Substantially adapted from the PKGBUILD of isl-git

pkgname=isl15
pkgver=0.15
pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('i686' 'x86_64' 'armv7h')
url="http://isl.gforge.inria.fr/"
depends=('gmp')
license=('MIT')
options=('!libtool')
provides=("isl=${pkgver}")
conflicts=('isl-git' 'isl')
source=('http://isl.gforge.inria.fr/isl-0.15.tar.gz')
md5sums=('ca0e2d172ff0b57764b10867c8fc762f')

build() {
  cd isl-0.15
#  ./autogen.sh
  ./configure --prefix=/usr
  make
}

check() {
  cd isl-0.15
  make check
}

package() {
  cd isl-0.15
  make -j1 DESTDIR="$pkgdir/" install

  install -dm755 $pkgdir/usr/share/gdb/auto-load/usr/lib/
  mv $pkgdir/{,/usr/share/gdb/auto-load/}usr/lib/libisl.so.15.0.0-gdb.py

  install -Dm644 LICENSE $pkgdir/usr/share/licenses/isl/LICENSE
}