tools: Fix mpfr build on FreeBSD 10.1
[openwrt/openwrt.git] / tools / mpfr / Makefile
1 #
2 # Copyright (C) 2009-2013 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.2
11
12 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
13 @GNU/mpfr
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_MD5SUM:=ee2c3ac63bf0c2359bf08fc3ee094c19
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))