updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / iml / PKGBUILD
blob06438978763aba5695f25225872cbd769c5f6bc2
1 # Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
2 # Maintainer: Rémy Oudompheng <oudomphe@clipper.ens.fr>
3 pkgname=iml
4 pkgver=1.0.3
5 pkgrel=1
6 pkgdesc="C Library of integer matrix algorithms"
7 arch=('i686' 'x86_64')
8 url="http://www.cs.uwaterloo.ca/~z4chen/iml.html"
9 license=('GPL')
10 depends=('gmp' 'gsl')
11 source=(#http://www.cs.uwaterloo.ca/~z4chen/iml-$pkgver.tar.gz
12         http://ftp.de.debian.org/debian/pool/main/i/iml/iml_$pkgver.orig.tar.gz
13         configure-patch)
14 build() {
15   cd "$startdir/src/iml-$pkgver"
16   patch -p0 < ../configure-patch
17   ln -s /usr/include/gsl/gsl_cblas.h src/cblas.h
18   sed -i -e 's/mpz_init_ui/mpz_init_set_ui/g' src/nullspace.c
20   ./configure --prefix=/usr --enable-shared 
21   make || return 1
22   make DESTDIR="$startdir/pkg" install
25 md5sums=('8e000d82f3b47cf5bfc0247bb7dbfd47'
26          '42eeb911c93707ddd9c0f3ef3c1753e3')