2 # Copyright (C) 2009-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
11 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
13 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 PKG_HASH:=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
18 HOST_BUILD_PARALLEL:=1
19 HOST_FIXUP:=autoreconf
21 include $(INCLUDE_DIR)/host-build.mk
23 HOST_CONFIGURE_ARGS += \
26 --with-gmp=$(STAGING_DIR_HOST)
28 $(eval $(call HostBuild))