2009-01-21 19:58:17 +08:00
|
|
|
#
|
2016-04-17 20:52:17 +08:00
|
|
|
# Copyright (C) 2009-2016 OpenWrt.org
|
2009-01-21 19:58:17 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=mpfr
|
2020-08-23 22:08:14 +08:00
|
|
|
PKG_VERSION:=4.1.0
|
2017-09-28 10:55:46 +08:00
|
|
|
PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2019-02-10 19:32:19 +08:00
|
|
|
PKG_SOURCE_URL:=@GNU/mpfr http://www.mpfr.org/mpfr-$(PKG_VERSION)
|
2016-10-03 05:54:13 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2020-08-23 22:08:14 +08:00
|
|
|
PKG_HASH:=0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2012-09-15 22:17:49 +08:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
2010-12-15 08:39:14 +08:00
|
|
|
HOST_FIXUP:=autoreconf
|
2010-12-14 05:01:34 +08:00
|
|
|
|
2009-01-21 19:58:17 +08:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-04-06 17:56:25 +08:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
2019-02-10 19:32:19 +08:00
|
|
|
--enable-thread-safe \
|
2009-04-06 17:56:25 +08:00
|
|
|
--with-gmp=$(STAGING_DIR_HOST)
|
2009-01-21 19:58:17 +08:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|