2 # Copyright (C) 2009 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
12 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-2.3.2
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=527147c097874340cb9cee0579dacf3b
16 include $(INCLUDE_DIR)/host-build.mk
18 define Build/Configure
19 (cd $(PKG_BUILD_DIR); \
21 --prefix=$(STAGING_DIR_HOST) \
22 --build=$(GNU_HOST_NAME) \
25 --with-gmp=$(STAGING_DIR_HOST) \
30 make -C $(PKG_BUILD_DIR) all
34 make -C $(PKG_BUILD_DIR) install
38 rm -rf $(PKG_BUILD_DIR)
41 $(eval $(call HostBuild))