2009-01-21 13:58:17 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=mpfr
|
2010-12-09 15:31:57 +02:00
|
|
|
PKG_VERSION:=3.0.0
|
2009-01-21 13:58:17 +02:00
|
|
|
|
2009-08-20 19:08:52 +03:00
|
|
|
PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION)
|
2009-01-21 13:58:17 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2010-12-09 15:31:57 +02:00
|
|
|
PKG_MD5SUM:=f45bac3584922c8004a10060ab1a8f9f
|
2009-01-21 13:58:17 +02:00
|
|
|
|
2010-12-15 02:39:14 +02:00
|
|
|
HOST_FIXUP:=autoreconf
|
2010-12-13 23:01:34 +02:00
|
|
|
|
2009-01-21 13:58:17 +02:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-04-06 12:56:25 +03:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
|
|
|
--with-gmp=$(STAGING_DIR_HOST)
|
2009-01-21 13:58:17 +02:00
|
|
|
|
2010-12-15 02:39:14 +02:00
|
|
|
define Host/Configure
|
|
|
|
echo "PATH=$(shell echo $$PATH)"
|
|
|
|
$(call Host/Configure/Default)
|
|
|
|
endef
|
|
|
|
|
2009-01-21 13:58:17 +02:00
|
|
|
$(eval $(call HostBuild))
|