2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=@SF/lzmautils \
15 PKG_HASH:=5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df
16 PKG_CPE_ID:=cpe:/a:tukaani:xz
18 HOST_BUILD_PARALLEL:=1
20 include $(INCLUDE_DIR)/host-build.mk
22 HOSTCC := $(HOSTCC_NOCACHE)
23 HOSTCXX := $(HOSTCXX_NOCACHE)
25 HOST_CONFIGURE_ARGS += \
33 +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat"
36 $(eval $(call HostBuild))