2009-01-21 12:58:17 +01:00
|
|
|
#
|
2016-04-17 14:52:17 +02:00
|
|
|
# Copyright (C) 2009-2016 OpenWrt.org
|
2009-01-21 12:58:17 +01: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
|
2018-03-12 16:59:24 +01:00
|
|
|
PKG_VERSION:=4.0.1
|
2017-09-28 04:55:46 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
|
2009-01-21 12:58:17 +01:00
|
|
|
|
2013-11-25 15:09:24 +01:00
|
|
|
PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
|
|
|
|
@GNU/mpfr
|
2016-10-02 23:54:13 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2018-03-12 16:59:24 +01:00
|
|
|
PKG_HASH:=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
|
2009-01-21 12:58:17 +01:00
|
|
|
|
2012-09-15 16:17:49 +02:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
2010-12-15 01:39:14 +01:00
|
|
|
HOST_FIXUP:=autoreconf
|
2010-12-13 22:01:34 +01:00
|
|
|
|
2009-01-21 12:58:17 +01:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-04-06 11:56:25 +02:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
|
|
|
--with-gmp=$(STAGING_DIR_HOST)
|
2009-01-21 12:58:17 +01:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|