diff options
-rw-r--r-- | meta/recipes-extended/lzip/lzip_1.18.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-extended/lzip/lzip_1.18.bb b/meta/recipes-extended/lzip/lzip_1.18.bb new file mode 100644 index 0000000000..30c7dd5a6d --- /dev/null +++ b/meta/recipes-extended/lzip/lzip_1.18.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Lossless data compressor based on the LZMA algorithm" | ||
2 | HOMEPAGE = "http://lzip.nongnu.org/lzip.html" | ||
3 | SECTION = "console/utils" | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ | ||
6 | file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1" | ||
7 | |||
8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "3838567460ce4a10143de4bccc64fe1c" | ||
11 | SRC_URI[sha256sum] = "47f9882a104ab05532f467a7b8f4ddbb898fa2f1e8d9d468556d6c2d04db14dd" | ||
12 | |||
13 | CONFIGUREOPTS = "\ | ||
14 | '--srcdir=${S}' \ | ||
15 | '--prefix=${prefix}' \ | ||
16 | '--exec-prefix=${exec_prefix}' \ | ||
17 | '--bindir=${bindir}' \ | ||
18 | '--datadir=${datadir}' \ | ||
19 | '--infodir=${infodir}' \ | ||
20 | '--sysconfdir=${sysconfdir}' \ | ||
21 | 'CXX=${CXX}' \ | ||
22 | 'CPPFLAGS=${CPPFLAGS}' \ | ||
23 | 'CXXFLAGS=${CXXFLAGS}' \ | ||
24 | 'LDFLAGS=${LDFLAGS}' \ | ||
25 | " | ||
26 | EXTRA_OEMAKE = "" | ||
27 | |||
28 | B = "${S}/obj" | ||
29 | do_configure () { | ||
30 | ${S}/configure ${CONFIGUREOPTS} | ||
31 | } | ||
32 | |||
33 | do_install () { | ||
34 | oe_runmake 'DESTDIR=${D}' install | ||
35 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
36 | if [ -e "${D}${infodir}/dir" ]; then | ||
37 | rm -f ${D}${infodir}/dir | ||
38 | fi | ||
39 | } | ||
40 | |||
41 | BBCLASSEXTEND += "native nativesdk" | ||