procd: make mDNS TXT record parsing more solid
[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.5.0
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_HASH:=ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe
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 --with-pic
28
29 define Host/Uninstall
30 -$(call Host/Compile/Default,uninstall)
31 endef
32
33 $(eval $(call HostBuild))