# Template file for 'gsl'
pkgname=gsl
version=1.15
build_style=gnu-configure
revision=2
short_desc="The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gsl/gsl.html"
license="GPL-2"
distfiles="$GNU_SITE/gsl/$pkgname-$version.tar.gz"
checksum=85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3
long_desc="
 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."

gsl-devel_package() {
	depends="gsl>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove "usr/lib/*.a"
	}
}

gsl_package() {
	pkg_install() {
		vmove usr
	}
}
