diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 19:36:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 19:36:01 +0000 |
commit | 173796e5e83e2958d115761a784cfb552353f9f7 (patch) | |
tree | 9a73b14a0d29cf064cfff132e8bf626032f848b5 /testing/gsl/APKBUILD | |
parent | d78981c785e44030de05a6d1d3a06cd21d651005 (diff) | |
download | aports-173796e5e83e2958d115761a784cfb552353f9f7.tar.bz2 aports-173796e5e83e2958d115761a784cfb552353f9f7.tar.xz |
testing/gsl: new aport
The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers
http://www.gnu.org/software/gsl/gsl.html
Diffstat (limited to 'testing/gsl/APKBUILD')
-rw-r--r-- | testing/gsl/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/gsl/APKBUILD b/testing/gsl/APKBUILD new file mode 100644 index 0000000000..fd4ba6ff8c --- /dev/null +++ b/testing/gsl/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gsl +pkgver=1.14 +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" +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" |