2 # Copyright (C) 2006 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
:=lzma-
$(PKG_VERSION
).
tar.bz2
13 PKG_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
14 PKG_HASH
:=49053e4bb5e0646a841d250d9cb81f7714f5fff04a133216c4748163567acc3d
16 HOST_BUILD_DIR
:=$(BUILD_DIR_HOST
)/lzma-
$(PKG_VERSION
)
18 include $(INCLUDE_DIR
)/host-build.mk
20 LIB_DIR
=$(HOST_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Lib
21 ALONE_DIR
=$(HOST_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Alone
27 $(MAKE
) -f makefile.gcc
-C
$(ALONE_DIR
)
31 $(INSTALL_DATA
) $(LIB_DIR
)/liblzma.a
$(STAGING_DIR_HOST
)/lib
/liblzma-old.a
35 rm -f
$(STAGING_DIR_HOST
)/lib
/liblzma-old.a
38 $(eval
$(call HostBuild
))