f29264ea684de09e9a11efd2352bcc7d08e7db8b
[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.2.9
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_HASH:=f1063084dc4302a427dabcca499c8312b3a32a29b7d2506653ecc8f950a9a237
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 HOST_CONFIGURE_ARGS += \
23 --without-docbook
24
25 define Host/Install
26 $(MAKE) -C $(HOST_BUILD_DIR) install
27 endef
28
29 $(eval $(call HostBuild))