updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / givaro / PKGBUILD
blob27e276e0f7f72243ef4c98a353b7fa9309eab1b9
1 # Contributor: Rémy Oudompheng <oudomphe@phare.normalesup.org>
2 # Maintainer: Rémy Oudompheng <oudomphe@phare.normalesup.org>
4 pkgname=givaro
5 pkgver=3.4.2
6 pkgrel=1
7 pkgdesc="C++ library for arithmetic and algebraic computations"
8 arch=('i686' 'x86_64')
9 url="http://www-lmc.imag.fr/CASYS/LOGICIELS/givaro/"
10 license=('GPL')
11 depends=('gmp')
12 source=(http://www-lmc.imag.fr/CASYS/LOGICIELS/givaro/Downloads/givaro-$pkgver.tar.gz)
13 md5sums=('6be24745e3c9c0ec30dad0de1ce99e27')
15 build() {
16   cd "$srcdir/givaro-$pkgver"
17   ./configure --prefix=/usr --enable-shared 
18   make
21 check() {
22   cd "$srcdir/givaro-$pkgver"
23   make check
26 package() {
27   cd "$srcdir/givaro-$pkgver"
28   make DESTDIR="$pkgdir" install