termux-packages/packages/gsl/build.sh
2017-03-27 01:56:11 +02:00

11 lines
591 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gsl/
TERMUX_PKG_DESCRIPTION="GNU Scientific Library (GSL) providing a wide range of mathematical routines"
TERMUX_PKG_VERSION=2.3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gsl/gsl-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb
TERMUX_PKG_RM_AFTER_INSTALL="bin/ share/man/man1"
# Workaround for linker on Android 5 (fixed in Android 6) not supporting RTLD_GLOBAL.
# See https://github.com/termux/termux-packages/issues/507
export GSL_LDFLAGS="-Lcblas/.libs/ -lgslcblas"