tools: zlib: do not hardcode the install prefix in zlib.pc
[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:=4.0.1
11 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
12
13 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
14 @GNU/mpfr
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 PKG_HASH:=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
17
18 HOST_BUILD_PARALLEL:=1
19 HOST_FIXUP:=autoreconf
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 HOST_CONFIGURE_ARGS += \
24 --enable-static \
25 --disable-shared \
26 --with-gmp=$(STAGING_DIR_HOST)
27
28 $(eval $(call HostBuild))