2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE_URL
:=http
://www.multiprecision.org
/mpc
/download
/
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_MD5SUM
:=5b34aa804d514cc295414a963aedb6bf
16 include $(INCLUDE_DIR
)/host-build.mk
20 HOST_CONFIGURE_ARGS
+= \
23 --with-mpfr
=$(TOPDIR
)/staging_dir
/host \
24 --with-gmp
=$(TOPDIR
)/staging_dir
/host
27 (cd
$(HOST_BUILD_DIR
)/$(3); \
28 $(HOST_CONFIGURE_CMD
) \
29 $(HOST_CONFIGURE_VARS
) \
30 $(HOST_CONFIGURE_ARGS
); \
35 $(eval
$(call HostBuild
))