1 include $(TOPDIR
)/rules.mk
6 PKG_SOURCE
:= $(PKG_NAME
)$(PKG_VERSION
).
tar.bz2
7 PKG_MD5SUM
:= 155c1ebce5bc6710ae7ecc926226d9d7
8 PKG_SOURCE_URL
:= @SF
/sevenzip
10 PKG_BUILD_DIR
=$(TOOL_BUILD_DIR
)/lzma-
$(PKG_VERSION
)/lzma
12 include $(INCLUDE_DIR
)/host-build.mk
14 LIB_DIR
=$(PKG_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Lib
15 ALONE_DIR
=$(PKG_BUILD_DIR
)/C
/7zip
/Compress
/LZMA_Alone
18 bzcat
$(DL_DIR
)/$(PKG_SOURCE
) |
tar -C
$(PKG_BUILD_DIR
)/ $(TAR_OPTIONS
) -
19 $(PATCH
) $(PKG_BUILD_DIR
) .
/patches
24 $(MAKE
) -f makefile.gcc
-C
$(ALONE_DIR
)
28 mkdir
-p
$(STAGING_DIR
)/host
/lib
29 $(CP
) $(LIB_DIR
)/liblzma.a
$(STAGING_DIR
)/host
/lib
/
30 $(CP
) $(ALONE_DIR
)/lzma
$(STAGING_DIR
)/bin
/
34 rm -f
$(PKG_BUILD_DIR
)/liblzma.a
$(PKG_BUILD_DIR
)/lzma
37 $(eval
$(call HostBuild
))