d48837233f30401871cf3481f868301b7f48ac46
[openwrt/openwrt.git] / tools / expat / Makefile
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=expat
11 PKG_CPE_ID:=cpe:/a:libexpat:libexpat
12 PKG_VERSION:=2.6.3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_HASH:=17aa6cfc5c4c219c09287abfc10bc13f0c06f30bb654b28bfe6f567ca646eb79
16 PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION))
17
18 HOST_BUILD_PARALLEL:=1
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 HOSTCC := $(HOSTCC_NOCACHE)
23
24 HOST_CONFIGURE_ARGS += \
25 --disable-shared \
26 --without-docbook \
27 --without-tests \
28 --with-pic
29
30 define Host/Uninstall
31 -$(call Host/Compile/Default,uninstall)
32 endef
33
34 $(eval $(call HostBuild))