[backfire] backport r27648
[openwrt-10.03/.git] / tools / mpfr / Makefile
1 #
2 # Copyright (C) 2009 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:=2.4.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:=c5ee0a8ce82ad55fe29ac57edd35d09e
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_CONFIGURE_ARGS += \
19         --enable-static \
20         --disable-shared \
21         --with-gmp=$(STAGING_DIR_HOST)
22
23 $(eval $(call HostBuild))