#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=gsl
pkgver=1.12
pkgrel=1gv
arch=i486
source=(ftp://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "bugs" "support" "thanks")
url=http://www.gnu.org/software/gsl/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gsl - GNU Scientific Library"
"The GNU Scientific Library (GSL) is a numerical library for C and C++"
"programmers. It is free software under the GNU General Public License."
"The library provides a wide range of mathematical routines such as"
"random number generators, special functions and least-squares fitting."
"There are over 1000 functions in total with an extensive test suite."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}