diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 11:33:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 11:33:01 +0000 |
commit | 9e1b9ea181f23f6f0d290541eb847301385a4d90 (patch) | |
tree | 16639edc4e11c87e006e48643d7ba0fb2b1ca018 /main/gsl | |
parent | 9d4754d6b601c25e56dc3fead3a4b7a71345a589 (diff) | |
download | aports-9e1b9ea181f23f6f0d290541eb847301385a4d90.tar.bz2 aports-9e1b9ea181f23f6f0d290541eb847301385a4d90.tar.xz |
main/gsl: moved from testing
Diffstat (limited to 'main/gsl')
-rw-r--r-- | main/gsl/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD new file mode 100644 index 000000000..fd4ba6ff8 --- /dev/null +++ b/main/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" |