termux-packages/packages/libgmp/build.sh

10 lines
414 B
Bash
Raw Normal View History

2016-08-14 13:59:04 +02:00
TERMUX_PKG_VERSION=6.1.1
2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=https://gmplib.org/
TERMUX_PKG_DESCRIPTION="Library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers"
TERMUX_PKG_SRCURL=https://gmplib.org/download/gmp/gmp-${TERMUX_PKG_VERSION}.tar.lz
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
# https://gmplib.org/list-archives/gmp-bugs/2012-April/002620.html
CFLAGS+=" $LDFLAGS"
}