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

# source: post BLFS 7.8 2016-01-22
TARBALL=gsl-$PKGVER.tar.gz
MD5SUM=d8f70abafd3e9f0bae03c52d1f4e8de5
SRC_URL=http://ftp.gnu.org/pub/gnu/gsl/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libgsl: libgsl $PKGVER (GNU Scientific Library)  
libgsl:  
libgsl: The GNU Scientific Library (GSL) is a numerical library for C and C++ 
libgsl: programmers. It provides a wide range of mathematical routines such as 
libgsl: random number generators, special functions and least-squares fitting. 
libgsl:  
libgsl: 
libgsl: 
libgsl: 
libgsl: 
libgsl:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/gsl*
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	make html && mkdir -p /usr/share/doc/gsl-$PKGVER &&
	install -m644 doc/gsl-ref.html/* /usr/share/doc/gsl-$PKGVER &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/bin/gsl-config{,-64} &&
	ln -sfv /usr/bin/multiarch_wrapper /usr/bin/gsl-config	
}


