4cd9ef11b2ffec2685ec4b6771672e5dba8d9bdf
[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:expat
12 PKG_VERSION:=2.6.2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_HASH:=d4cf38d26e21a56654ffe4acd9cd5481164619626802328506a2869afab29ab3
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))