diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-06 14:05:34 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 08:40:48 +0000 |
commit | cbb3a2a786714e40f997fb9e5eeb9d2b7748d26b (patch) | |
tree | d2dd5167ebfa65bddc577862a81921a9f4103a9f | |
parent | 600739664866e69b07639471958ce35b46cde095 (diff) | |
download | aports-cbb3a2a786714e40f997fb9e5eeb9d2b7748d26b.tar.bz2 aports-cbb3a2a786714e40f997fb9e5eeb9d2b7748d26b.tar.xz |
main/gsl: modernise, add test, fix metadata
-rw-r--r-- | main/gsl/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD index fd5127623c..ab94db1675 100644 --- a/main/gsl/APKBUILD +++ b/main/gsl/APKBUILD @@ -1,14 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gsl pkgver=2.4 -pkgrel=0 -pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers" +pkgrel=1 +pkgdesc="Modern numerical library for C and C++ programmers" url="https://www.gnu.org/software/gsl/gsl.html" arch="all" -license="GPL" +license="GPL-3.0+" depends= makedepends= -install= subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz dont-disable-deprecated.patch" @@ -23,14 +22,18 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130 gsl-2.4.tar.gz |