### this file is sourced not run
PKGVER=10.3.0
PKGBUILD=1
PKGARCH=x86_64

# source: james/giac
TARBALL=ntl-$PKGVER.tar.gz
MD5SUM=b682166b8652e4437c86154698b9831e
SRC_URL=http://shoup.net/ntl/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libntl: libntl $PKGVER (Number Theory library)
libntl: 
libntl: NTL is a high-performance, portable C++ library providing data 
libntl: structures and algorithms for manipulating signed, arbitrary length 
libntl: integers, and for vectors, matrices, and polynomials over the 
libntl: integers and over finite fields. This contains static library and is 
libntl: usually not needed for running applications; only for building them
libntl: 
libntl: http://shoup.net/ntl/
libntl: 
libntl: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/ntl*/src
	./configure NTL_GMP_LIP=on PREFIX=/usr LIBDIR=/usr/$LIBDIR CXXAUTOFLAGS='-fPIC' &&
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}


