diff options
Diffstat (limited to 'meta-oe/recipes-support/lzma/lzma.inc')
-rw-r--r-- | meta-oe/recipes-support/lzma/lzma.inc | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-oe/recipes-support/lzma/lzma.inc b/meta-oe/recipes-support/lzma/lzma.inc deleted file mode 100644 index 912d28118..000000000 --- a/meta-oe/recipes-support/lzma/lzma.inc +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | DESCRIPTION = "LZMA is a general compression method. LZMA provides high compression ratio and very fast decompression." | ||
2 | HOMEPAGE = "http://www.7-zip.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | LIC_FILES_CHKSUM = "file://lzma.txt;md5=20251cdc2e3793cceab11878d0aa11b1" | ||
5 | INC_PR = "r7" | ||
6 | |||
7 | SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@d.getVar('PV',1).replace('.','')}.tar.bz2;subdir=${BPN}-${PV} \ | ||
8 | file://001-large_files.patch \ | ||
9 | file://002-lzmp.patch \ | ||
10 | file://003-compile_fixes.patch \ | ||
11 | file://100-static_library.patch \ | ||
12 | file://makefile-cleanup.patch" | ||
13 | |||
14 | EXTRA_OEMAKE = "-f makefile.gcc" | ||
15 | |||
16 | do_unpack_append() { | ||
17 | import subprocess | ||
18 | # Replace MS-DOS line-endings with Unix style line-endings | ||
19 | subprocess.call("find . -type f -print0 | xargs -0 sed 's/\r$//' -i", | ||
20 | cwd=d.getVar("S", True), shell=True) | ||
21 | } | ||
22 | |||
23 | do_compile() { | ||
24 | oe_runmake CFLAGS='${CFLAGS} -c' -C C/LzmaUtil | ||
25 | oe_runmake CXX_C='${CC} ${CFLAGS}' CXX='${CXX} ${CXXFLAGS}' \ | ||
26 | -C CPP/7zip/Compress/LZMA_Alone | ||
27 | } | ||
28 | |||
29 | do_install() { | ||
30 | install -d ${D}${bindir} ${D}${libdir} | ||
31 | install -m 0755 CPP/7zip/Compress/LZMA_Alone/lzma ${D}${bindir} | ||
32 | oe_libinstall -a -C C/LzmaUtil liblzma ${D}${libdir} | ||
33 | } | ||
34 | |||
35 | BBCLASSEXTEND = "native" | ||