96e0188bc8edf246112dd477ed0d423ea203b459
[openwrt/openwrt.git] / tools / mpfr / Makefile
1 #
2 # Copyright (C) 2009-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=mpfr
10 PKG_VERSION:=3.1.6
11
12 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
13 @GNU/mpfr
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_HASH:=7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950
16
17 HOST_BUILD_PARALLEL:=1
18 HOST_FIXUP:=autoreconf
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 HOST_CONFIGURE_ARGS += \
23 --enable-static \
24 --disable-shared \
25 --with-gmp=$(STAGING_DIR_HOST)
26
27 $(eval $(call HostBuild))