#
include $(TOPDIR)/rules.mk
-PKG_NAME:=lzma
+PKG_NAME:=lzma-old
PKG_VERSION:=4.32
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=lzma-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
PKG_MD5SUM:=5587d6ac230ad1903d504fc3253f0e42
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
+HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/lzma-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
define Host/Install
$(INSTALL_DATA) $(LIB_DIR)/liblzma.a $(STAGING_DIR_HOST)/lib/liblzma-old.a
- $(INSTALL_BIN) $(ALONE_DIR)/lzma $(STAGING_DIR_HOST)/bin/
endef
define Host/Clean
- rm -f \
- $(STAGING_DIR_HOST)/lib/liblzma-old.a \
- $(STAGING_DIR_HOST)/bin/lzma
+ rm -f $(STAGING_DIR_HOST)/lib/liblzma-old.a
endef
$(eval $(call HostBuild))