aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsl
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-06 00:16:09 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-18 17:52:49 +0100
commitd6a4bfc706ea00416c5b7e03bfa9555559d5c7a0 (patch)
tree0fae89fa56037ee47cf0a73e9918ec9b80c0370c /community/gsl
parent46a94c3d2819c25ae633a090332e61e533b9cd0f (diff)
downloadaports-d6a4bfc706ea00416c5b7e03bfa9555559d5c7a0.tar.gz
aports-d6a4bfc706ea00416c5b7e03bfa9555559d5c7a0.tar.bz2
aports-d6a4bfc706ea00416c5b7e03bfa9555559d5c7a0.tar.xz
community/gsl: move from main
Diffstat (limited to 'community/gsl')
-rw-r--r--community/gsl/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/gsl/APKBUILD b/community/gsl/APKBUILD
new file mode 100644
index 0000000000..99f301b07c
--- /dev/null
+++ b/community/gsl/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gsl
+pkgver=2.6
+pkgrel=0
+pkgdesc="Modern numerical library for C and C++ programmers"
+url="https://www.gnu.org/software/gsl/gsl.html"
+arch="all"
+license="GPL-3.0-or-later"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz"
+options="!check" # x86 and aarch64 fail the testsuite
+
+# dont-disable-deprecated.patch is workaround for:
+# https://github.com/SciRuby/rb-gsl/issues/40
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0be8240715f0b86aba2c63d9f12da4dba4719d4e350e9308d279e0dd3b2f0519ea26fd2e38a17f3e8cf43aacbaa2455207a7ca0d6c305f3b8725e8ece2250a74 gsl-2.6.tar.gz"