2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2019-02-01 08:15:10 +00:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2011-01-09 18:40:23 +01:00
|
|
|
|
2010-08-02 09:48:38 +02:00
|
|
|
PKG_NAME="mpc"
|
2022-12-09 21:10:02 +00:00
|
|
|
PKG_VERSION="1.3.1"
|
|
|
|
|
PKG_SHA256="ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
|
2010-08-02 09:48:38 +02:00
|
|
|
PKG_LICENSE="LGPL"
|
2022-12-09 21:10:02 +00:00
|
|
|
PKG_SITE="https://www.multiprecision.org"
|
2021-01-19 19:33:48 +00:00
|
|
|
PKG_URL="http://ftpmirror.gnu.org/mpc/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2014-01-30 14:33:24 +01:00
|
|
|
PKG_DEPENDS_HOST="ccache:host gmp:host mpfr:host"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="A C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result."
|
2014-01-09 17:48:20 +01:00
|
|
|
|
2021-01-19 19:33:48 +00:00
|
|
|
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} \
|
2014-08-15 23:24:54 +03:00
|
|
|
--enable-static --disable-shared \
|
2021-01-19 19:33:48 +00:00
|
|
|
--with-gmp=${TOOLCHAIN} \
|
|
|
|
|
--with-mpfr=${TOOLCHAIN}"
|