summaryrefslogtreecommitdiffstats
path: root/main/gsl/APKBUILD
blob: dba8735c2924b016c861c2a5749db7e9a8e5ea80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsl
pkgver=1.14
pkgrel=1
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
}
md5sums="d55e7b141815412a072a3f0e12442042  gsl-1.14.tar.gz"