1 DESCRIPTION = "LZMA is a general compression method. LZMA provides high compression ratio and very fast decompression."
2 HOMEPAGE = "http://www.7-zip.org/"
7 SRC_URI = "http://www.7-zip.org/dl/lzma417.tar.bz2 \
8 file://lzma-406-zlib-stream.patch;patch=1;pnum=2"
12 EXTRA_OEMAKE += "CXX_C='${CC}'"
16 # If you run into "internal compiler error" failures with gcc, disable optimization
17 # using -O0, or use -O1 or -O2 instead of -Os. (reported failure: gcc 3.4.4 for sh4)
18 #FULL_OPTIMIZATION = "-O0"
20 # One such reported failure is a cross-gcc 3.4.4 for sh4:
21 FULL_OPTIMIZATION_sh4 = "-O1"
24 oe_runmake -C 7zip/Compress/LZMA_Alone
25 oe_runmake -C 7zip/Compress/LZMA_Lib
29 install -d ${D}${bindir} ${D}${libdir}
30 install -m 0755 7zip/Compress/LZMA_Alone/lzma ${D}${bindir}
31 oe_libinstall -a -C 7zip/Compress/LZMA_Lib liblzma ${D}${libdir}
35 oe_libinstall -a -C 7zip/Compress/LZMA_Lib liblzma ${STAGING_LIBDIR}