e34830ad5b9d20551b71135697fe7f52ee910509
[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.1
11
12 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION)
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=e90e0075bb1b5f626c6e31aaa9c64e3b
15
16 HOST_BUILD_PARALLEL:=1
17 HOST_FIXUP:=autoreconf
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_ARGS += \
22 --enable-static \
23 --disable-shared \
24 --with-gmp=$(STAGING_DIR_HOST)
25
26 $(eval $(call HostBuild))