1bccbdb2632710143e46c3302b2caf5a3d526643
[openwrt/staging/yousong.git] / tools / xz / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=xz
10 PKG_VERSION:=5.2.2
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@SF/lzmautils \
14 http://tukaani.org/xz
15 PKG_MD5SUM:=f341b1906ebcdde291dd619399ae944600edc9193619dd0c0110a5f05bfcc89e
16
17 HOST_BUILD_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_ARGS += \
22 --enable-static=yes \
23 --enable-shared=no \
24
25 define Host/Install
26 +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat"
27 endef
28
29 $(eval $(call HostBuild))