summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-02-22 16:51:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 23:27:09 +0000
commitfdb1517dc04a2cbc75005ba244e8e085cbb2647c (patch)
tree734a52614ca969a5899af824f2d95c11055688ab
parent445d3e60038920cfca9288e892290cc6ea1ec1e6 (diff)
downloadpoky-fdb1517dc04a2cbc75005ba244e8e085cbb2647c.tar.gz
lzip: add a recipe from meta-oe
ed tarballs are now available only in .lz format, which saves them an amazing 30 kilobytes over gz. (From OE-Core rev: ad2afeab2128835a56ed20fef97b77041149105a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/lzip/lzip_1.18.bb41
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 @@
1SUMMARY = "Lossless data compressor based on the LZMA algorithm"
2HOMEPAGE = "http://lzip.nongnu.org/lzip.html"
3SECTION = "console/utils"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \
6 file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1"
7
8SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "3838567460ce4a10143de4bccc64fe1c"
11SRC_URI[sha256sum] = "47f9882a104ab05532f467a7b8f4ddbb898fa2f1e8d9d468556d6c2d04db14dd"
12
13CONFIGUREOPTS = "\
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"
26EXTRA_OEMAKE = ""
27
28B = "${S}/obj"
29do_configure () {
30 ${S}/configure ${CONFIGUREOPTS}
31}
32
33do_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
41BBCLASSEXTEND += "native nativesdk"