Browse Source

gsl: Update from 1.16 to 2.0

android-5
Fredrik Fornwall 9 years ago
parent
commit
751c27e81a
  1. 21
      packages/gsl/Makefile.in.patch
  2. 2
      packages/gsl/build.sh

21
packages/gsl/Makefile.in.patch

@ -1,21 +0,0 @@
Normally GSL wants an application to decide at link time which cblas implementation
should be used. This causes problems on Android without any benefit as no system
cblas implementation exist, so we link libgsql to libgslcblas.
See
https://www.gnu.org/software/gsl/manual/html_node/Linking-programs-with-the-library.html
diff -u -r ../gsl-1.16/Makefile.in ./Makefile.in
--- ../gsl-1.16/Makefile.in 2013-07-19 11:14:52.000000000 -0400
+++ ./Makefile.in 2015-01-02 02:20:40.304345796 -0500
@@ -84,8 +84,8 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@MINGW32_HOST_TRUE@am__append_1 = cblas/libgslcblas.la
-@MINGW32_HOST_TRUE@am__append_2 = -no-undefined
+am__append_1 = cblas/libgslcblas.la
+am__append_2 = -no-undefined
bin_PROGRAMS = gsl-randist$(EXEEXT) gsl-histogram$(EXEEXT)
subdir = .
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \

2
packages/gsl/build.sh

@ -1,5 +1,5 @@
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/gsl/ TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/gsl/
TERMUX_PKG_DESCRIPTION="GNU Scientific Library (GSL) providing a wide range of mathematical routines" TERMUX_PKG_DESCRIPTION="GNU Scientific Library (GSL) providing a wide range of mathematical routines"
TERMUX_PKG_VERSION=1.16 TERMUX_PKG_VERSION=2.0
TERMUX_PKG_SRCURL=ftp://ftp.gnu.org/gnu/gsl/gsl-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=ftp://ftp.gnu.org/gnu/gsl/gsl-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_RM_AFTER_INSTALL="bin/ share/man/man1" TERMUX_PKG_RM_AFTER_INSTALL="bin/ share/man/man1"

Loading…
Cancel
Save