2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="mpfr"
|
2022-12-06 22:00:30 +00:00
|
|
|
PKG_VERSION="4.1.1"
|
|
|
|
PKG_SHA256="ffd195bd567dbaffc3b98b23fd00aad0537680c9896171e44fe3ff79e28ac33d"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="LGPL"
|
|
|
|
PKG_SITE="http://www.mpfr.org/"
|
|
|
|
PKG_URL="http://ftpmirror.gnu.org/mpfr/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
|
|
PKG_DEPENDS_HOST="ccache:host gmp:host"
|
|
|
|
PKG_LONGDESC="A C library for multiple-precision floating-point computations with exact rounding."
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} \
|
|
|
|
--enable-static --disable-shared \
|
|
|
|
--prefix=${TOOLCHAIN} \
|
|
|
|
--with-gmp-lib=${TOOLCHAIN}/lib \
|
|
|
|
--with-gmp-include=${TOOLCHAIN}/include"
|