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
:=https
://github.com
/tukaani-project
/xz
/releases
/download
/v
$(PKG_VERSION
)
14 PKG_HASH
:=d300422649a0124b1121630be559c890ceedf32667d7064b8128933166c217c8
15 PKG_CPE_ID
:=cpe
:/a
:tukaani
:xz
17 HOST_BUILD_PARALLEL
:=1
19 include $(INCLUDE_DIR
)/host-build.mk
21 HOSTCC
:= $(HOSTCC_NOCACHE
)
22 HOSTCXX
:= $(HOSTCXX_NOCACHE
)
24 HOST_CONFIGURE_ARGS
+= \
32 +$(MAKE
) $(HOST_JOBS
) -C
$(HOST_BUILD_DIR
) install xzlinks
="unxz xzcat"
36 -$(call Host
/Compile
/Default
,uninstall)
39 $(eval
$(call HostBuild
))