updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / ntl / PKGBUILD
blob18b51ed8d6f05a27ce67645f912d2d3187560d31
1 # Maintainer: Brad Conte <brad AT bradconte.com>
2 pkgname=ntl
3 pkgver=5.5.2
4 pkgrel=3
5 pkgdesc="An arithmetic C++ library"
6 arch=('i686' 'x86_64')
7 url="http://www.shoup.net/ntl/"
8 license=('GPL')
9 depends=(gmp gf2x)
10 source=("http://www.shoup.net/ntl/$pkgname-$pkgver.tar.gz")
11 md5sums=('2e0afa1fa3b325e562ce89da57cba983')
13 build() {
14         cd "$startdir/src/$pkgname-$pkgver/src" || return 1
15         ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_GMP_LIP=on || return 1
16         make || return 1
17         make check || return 1
18         make PREFIX="$pkgdir/usr/" install || return 1