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
|
2016-04-17 20:52:17 +08:00
|
|
|
PKG_VERSION:=3.1.4
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2013-11-25 22:09:24 +08:00
|
|
|
PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
|
|
|
|
@GNU/mpfr
|
2009-01-21 19:58:17 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2016-04-17 20:52:17 +08:00
|
|
|
PKG_MD5SUM:=b8a2f6b0e68bef46e53da2ac439e1cf4
|
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 \
|
|
|
|
--with-gmp=$(STAGING_DIR_HOST)
|
2009-01-21 19:58:17 +08:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|