aboutsummaryrefslogblamecommitdiffstats
path: root/main/gsl/APKBUILD
blob: 53729a183f465988e57200a8d5a4c022e23a8d0e (plain) (tree)
1
2
3
4
5
6
7

                                                   

           

                                                                                                  
          
















                                                                           
                                 
 
                                                           
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsl
pkgver=1.15
pkgrel=0
pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
url="http://www.gnu.org/software/gsl/gsl.html"
arch="all"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.belnet.be/mirror/ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="494ffefd90eef4ada678c306bab4030b  gsl-1.15.tar.gz"