aboutsummaryrefslogtreecommitdiffstats
path: root/main/gsl/APKBUILD
diff options
context:
space:
mode:
authorEd Robinson <ed.robinson@reevoo.com>2017-01-31 16:27:02 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-09 06:26:57 +0000
commit8c62f44e11e41d5fcdbf3c1a315d34edd5607a78 (patch)
treef48d853fc00ceda240059e62a75fd02c47ab00f2 /main/gsl/APKBUILD
parent06f7af414b6cac92706790547c5c98838e229f0f (diff)
downloadaports-8c62f44e11e41d5fcdbf3c1a315d34edd5607a78.tar.bz2
aports-8c62f44e11e41d5fcdbf3c1a315d34edd5607a78.tar.xz
main/gsl: don't disable deprecated symbols
Diffstat (limited to 'main/gsl/APKBUILD')
-rw-r--r--main/gsl/APKBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD
index 04101b9679..3da5efc2b4 100644
--- a/main/gsl/APKBUILD
+++ b/main/gsl/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsl
pkgver=2.2.1
-pkgrel=0
+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"
@@ -10,15 +10,16 @@ depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz"
+source="http://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz
+ dont-disable-deprecated.patch"
-_builddir="$srcdir"/$pkgname-$pkgver
+# dont-disable-deprecated.patch is workaround for:
+# https://github.com/SciRuby/rb-gsl/issues/40
+
+builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
-}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,9 +29,13 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="3d90650b7cfe0a6f4b29c2d7b0f86458 gsl-2.2.1.tar.gz"
-sha256sums="13d23dc7b0824e1405f3f7e7d0776deee9b8f62c62860bf66e7852d402b8b024 gsl-2.2.1.tar.gz"
-sha512sums="834210d91db6bc4be1df0c0be8e66af16bdf607bfc9d9d33bc240c428e3452e60bdab92240b88dcb15f24171be541e1fafa18368c7a257a44241e568c1c11942 gsl-2.2.1.tar.gz"
+
+md5sums="3d90650b7cfe0a6f4b29c2d7b0f86458 gsl-2.2.1.tar.gz
+293cf2947f41453e3b46bd5392a58b4a dont-disable-deprecated.patch"
+sha256sums="13d23dc7b0824e1405f3f7e7d0776deee9b8f62c62860bf66e7852d402b8b024 gsl-2.2.1.tar.gz
+a7b4689dfb36546723df50c7ced5117c42eb86bfbee1693818b7d96632680529 dont-disable-deprecated.patch"
+sha512sums="834210d91db6bc4be1df0c0be8e66af16bdf607bfc9d9d33bc240c428e3452e60bdab92240b88dcb15f24171be541e1fafa18368c7a257a44241e568c1c11942 gsl-2.2.1.tar.gz
+88d40e599a9e619d8968f9848a91c54492d99032734371ee23072c8dae9d9920da445c1f8a880baa613479facec4afca3d3dec1070c240e5dfd5a662a41c92e8 dont-disable-deprecated.patch"