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
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
13 PKG_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
14 PKG_MD5SUM
:=5587d6ac230ad1903d504fc3253f0e42
16 PKG_BUILD_DIR
:=$(BUILD_DIR_HOST
)/$(PKG_NAME
)-$(PKG_VERSION
)
18 include $(INCLUDE_DIR
)/host-build.mk
20 LIB_DIR
=$(PKG_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Lib
21 ALONE_DIR
=$(PKG_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Alone
25 $(MAKE
) -f makefile.gcc
-C
$(ALONE_DIR
)
29 $(INSTALL_DATA
) $(LIB_DIR
)/liblzma.a
$(STAGING_DIR_HOST
)/lib
/
30 $(INSTALL_BIN
) $(ALONE_DIR
)/lzma
$(STAGING_DIR_HOST
)/bin
/
35 $(STAGING_DIR_HOST
)/lib
/liblzma.a \
36 $(STAGING_DIR_HOST
)/bin
/lzma
39 $(eval
$(call HostBuild
))