void-packages/srcpkgs/gsl/template

28 lines
739 B
Bash

# Template file for 'gsl'
pkgname=gsl
version=2.2.1
revision=1
build_style=gnu-configure
short_desc="A numerical library for C and C++ programmers"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/gsl/gsl.html"
license="GPL-3"
distfiles="$GNU_SITE/gsl/$pkgname-$version.tar.gz"
checksum=13d23dc7b0824e1405f3f7e7d0776deee9b8f62c62860bf66e7852d402b8b024
gsl-devel_package() {
depends="gsl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/gsl-config
vmove usr/share/man/man1/gsl-config.1
vmove usr/share/man/man3
vmove usr/share/aclocal
vmove usr/share/info
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}