[oe] [meta-oe 2/2] lzip: add new recipe

Eric Bénard eric at eukrea.com
Mon Feb 20 07:54:29 UTC 2012


- this recipe is imported from oe-classic and upgrade to latest
stable version
- it was only compile tested

Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 meta-oe/recipes-support/lzip/lzip_1.12.bb |   36 +++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/lzip/lzip_1.12.bb

diff --git a/meta-oe/recipes-support/lzip/lzip_1.12.bb b/meta-oe/recipes-support/lzip/lzip_1.12.bb
new file mode 100644
index 0000000..68f9d0d
--- /dev/null
+++ b/meta-oe/recipes-support/lzip/lzip_1.12.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Lzip is a lossless data compressor based on the LZMA algorithm"
+HOMEPAGE = "http://lzip.nongnu.org/lzip.html"
+SECTION = "console/utils"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
+
+SRC_URI = "http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "69a40172db5ce896b58d862c50fcd517"
+SRC_URI[sha256sum] = "eabc590d02d404dc1a1cc8e2777ed398370174b68edb22043c8ca0b209dfcd27"
+
+CONFIGUREOPTS = "\
+    '--srcdir=${S}' \
+    '--prefix=${prefix}' \
+    '--exec-prefix=${exec_prefix}' \
+    '--bindir=${bindir}' \
+    '--datadir=${datadir}' \
+    '--infodir=${infodir}' \
+    '--sysconfdir=${sysconfdir}' \
+    'CXX=${CXX}' \
+    'CPPFLAGS=${CPPFLAGS}' \
+    'CXXFLAGS=${CXXFLAGS}' \
+    'LDFLAGS=${LDFLAGS}' \
+"
+EXTRA_OEMAKE = ""
+
+B = "${S}/obj"
+do_configure () {
+    ${S}/configure ${CONFIGUREOPTS}
+}
+
+do_install () {
+    oe_runmake 'DESTDIR=${D}' install
+}
+
+BBCLASSEXTEND += "native nativesdk"
-- 
1.7.7.6





More information about the Openembedded-devel mailing list