termux-packages/packages/libmpfr/build.sh

15 lines
614 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://www.mpfr.org/
TERMUX_PKG_DESCRIPTION="C library for multiple-precision floating-point computations with correct rounding"
TERMUX_PKG_DEPENDS="libgmp"
2018-02-09 01:12:50 +01:00
TERMUX_PKG_VERSION=4.0.1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/mpfr/mpfr-${TERMUX_PKG_VERSION}.tar.xz
2018-02-09 01:12:50 +01:00
TERMUX_PKG_SHA256=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
2015-06-13 01:03:31 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_locale_h=no"
2018-08-20 15:04:40 +02:00
termux_step_pre_configure() {
if [ "$TERMUX_ARCH" = i686 ]; then
# Fix clang internal error (on clang in ndk r17):
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-float128"
fi
}