2009-01-21 11:58:17 +00:00
|
|
|
#
|
2016-04-17 12:52:17 +00:00
|
|
|
# Copyright (C) 2009-2016 OpenWrt.org
|
2009-01-21 11:58:17 +00: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
|
2023-08-26 05:56:53 +00:00
|
|
|
PKG_VERSION:=4.2.1
|
2017-09-28 02:55:46 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2019-02-10 11:32:19 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/mpfr http://www.mpfr.org/mpfr-$(PKG_VERSION)
|
2016-10-02 21:54:13 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2023-08-26 05:56:53 +00:00
|
|
|
PKG_HASH:=277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2012-09-15 14:17:49 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
2010-12-15 00:39:14 +00:00
|
|
|
HOST_FIXUP:=autoreconf
|
2010-12-13 21:01:34 +00:00
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-04-06 09:56:25 +00:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
2019-02-10 11:32:19 +00:00
|
|
|
--enable-thread-safe \
|
2009-04-06 09:56:25 +00:00
|
|
|
--with-gmp=$(STAGING_DIR_HOST)
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2022-09-28 08:23:56 +00:00
|
|
|
define Host/Uninstall
|
|
|
|
-$(call Host/Compile/Default,uninstall)
|
|
|
|
endef
|
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
$(eval $(call HostBuild))
|