X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=tools%2Fmpc%2FMakefile;h=ef9bfc4db231b0ac81de488762f917bbea4b7c9d;hp=3898830c0b94eb92e4d41934548dc11305106e02;hb=1016a32919334318a929b8a5a30aea062449dc07;hpb=6d59a298e848fc0638920e711b1481b4b7afa18c diff --git a/tools/mpc/Makefile b/tools/mpc/Makefile index 3898830c0b..ef9bfc4db2 100644 --- a/tools/mpc/Makefile +++ b/tools/mpc/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,34 +7,22 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpc -PKG_VERSION:=0.8.1 +PKG_VERSION:=1.0.3 -PKG_SOURCE_URL:=http://www.multiprecision.org/mpc/download/ +PKG_SOURCE_URL:=@GNU/mpc/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MD5SUM:=5b34aa804d514cc295414a963aedb6bf +PKG_HASH:=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 + +HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk unexport CFLAGS -ifeq ($(HOST_OS),Darwin) - GNU_HOST_NAME:= - HOST_CONFIGURE_ARGS:=$(filter-out --target= --build= --host=,$(HOST_CONFIGURE_ARGS)) -endif - HOST_CONFIGURE_ARGS += \ --enable-static \ --disable-shared \ --with-mpfr=$(TOPDIR)/staging_dir/host \ --with-gmp=$(TOPDIR)/staging_dir/host -define Host/Configure - (cd $(HOST_BUILD_DIR)/$(3); \ - $(HOST_CONFIGURE_CMD) \ - $(HOST_CONFIGURE_VARS) \ - $(HOST_CONFIGURE_ARGS); \ - ) -endef - - $(eval $(call HostBuild))