termux-packages/packages/libgmp/build.sh

8 lines
393 B
Bash
Executable File

TERMUX_PKG_VERSION=6.0.0
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
# https://gmplib.org/list-archives/gmp-bugs/2012-April/002620.html
export CFLAGS="$CFLAGS $LDFLAGS"