[package] iptables:
[openwrt.git] / tools / mpc / 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:=mpc
10 PKG_VERSION:=0.8.1
11
12 PKG_SOURCE_URL:=http://www.multiprecision.org/mpc/download/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_MD5SUM:=5b34aa804d514cc295414a963aedb6bf
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 unexport CFLAGS
19
20 ifeq ($(HOST_OS),Darwin)
21 GNU_HOST_NAME:=
22 HOST_CONFIGURE_ARGS:=$(filter-out --target= --build= --host=,$(HOST_CONFIGURE_ARGS))
23 endif
24
25 HOST_CONFIGURE_ARGS += \
26 --enable-static \
27 --disable-shared \
28 --with-mpfr=$(TOPDIR)/staging_dir/host \
29 --with-gmp=$(TOPDIR)/staging_dir/host
30
31 define Host/Configure
32 (cd $(HOST_BUILD_DIR)/$(3); \
33 $(HOST_CONFIGURE_CMD) \
34 $(HOST_CONFIGURE_VARS) \
35 $(HOST_CONFIGURE_ARGS); \
36 )
37 endef
38
39
40 $(eval $(call HostBuild))
This page took 0.045163 seconds and 5 git commands to generate.