openwrtv3/tools/mpc/Makefile
Luka Perkov 567fe51e88 mpc: upgrade to 1.0.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37812
2013-08-19 01:22:25 +00:00

28 lines
621 B
Makefile

#
# Copyright (C) 2009-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mpc
PKG_VERSION:=1.0.1
PKG_SOURCE_URL:=http://www.multiprecision.org/mpc/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=b32a2e1a3daa392372fbd586d1ed3679
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
unexport CFLAGS
HOST_CONFIGURE_ARGS += \
--enable-static \
--disable-shared \
--with-mpfr=$(TOPDIR)/staging_dir/host \
--with-gmp=$(TOPDIR)/staging_dir/host
$(eval $(call HostBuild))