blob: 78095edbb5d98ae27ddea8a7d157187630159bba (
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
|
# Maintainer: Jestine Paul <jestine dot paul at gmail dot com>
pkgname=ntl-threading
pkgver=9.10.0
pkgrel=1
pkgdesc="A Library for doing Number Theory"
arch=(i686 x86_64)
url="http://www.shoup.net/ntl/"
license=(GPL)
depends=(gf2x gmp)
provides=('ntl')
makedepends=()
source=("http://www.shoup.net/ntl/ntl-$pkgver.tar.gz")
md5sums=('3846639577fc4bcba30f45e079d82a69')
build() {
cd ntl-$pkgver/src
./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_GMP_LIP=on
make
}
check() {
cd ntl-$pkgver/src
make -k check
}
package() {
cd ntl-$pkgver/src
make PREFIX="$pkgdir/usr" install
}
|