mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
40 lines
2.1 KiB
Makefile
40 lines
2.1 KiB
Makefile
################################################################################
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
#
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
PKG_NAME="mpfr"
|
|
PKG_VERSION="3.1.2"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="LGPL"
|
|
PKG_SITE="http://www.mpfr.org/"
|
|
PKG_URL="http://ftp.gnu.org/gnu/mpfr/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_HOST="ccache:host gmp:host"
|
|
PKG_PRIORITY="optional"
|
|
PKG_SECTION="devel"
|
|
PKG_SHORTDESC="mpfr: A C library for multiple-precision floating-point computations with exact roundi"
|
|
PKG_LONGDESC="The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa)."
|
|
|
|
PKG_IS_ADDON="no"
|
|
PKG_AUTORECONF="yes"
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
|
|
--enable-static --disable-shared \
|
|
--prefix=$ROOT/$TOOLCHAIN \
|
|
--with-gmp-lib=$ROOT/$TOOLCHAIN/lib \
|
|
--with-gmp-include=$ROOT/$TOOLCHAIN/include"
|