toolchain: add PKG_RELEASE if local files
[openwrt/staging/wigyori.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:=4.0.2
11 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
12
13 PKG_SOURCE_URL:=@GNU/mpfr http://www.mpfr.org/mpfr-$(PKG_VERSION)
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_HASH:=1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a
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 --enable-thread-safe \
26 --with-gmp=$(STAGING_DIR_HOST)
27
28 $(eval $(call HostBuild))