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
:=@GNU
/mpfr http
://www.mpfr.org
/mpfr-
$(PKG_VERSION
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_HASH
:=277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
17 HOST_BUILD_PARALLEL
:=1
18 HOST_FIXUP
:=autoreconf
20 include $(INCLUDE_DIR
)/host-build.mk
22 HOST_CONFIGURE_ARGS
+= \
25 --enable-thread-safe \
26 --with-gmp
=$(STAGING_DIR_HOST
)
29 -$(call Host
/Compile
/Default
,uninstall)
32 $(eval
$(call HostBuild
))