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

# source: james/giac
TARBALL=ntl-11.3.2.tar.gz
MD5SUM=d7d1033d9fdf935ee4932cedc103eb04
SRC_URL=https://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 NATIVE=off NTL_GMP_LIP=on PREFIX=/usr LIBDIR=/usr/$LIBDIR CXXFLAGS='-O2 -fPIC' &&
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}
