From ad016fa7492ba23c751cf33dd1befde7782facfa Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 17 Feb 2015 15:00:12 -0800 Subject: lzo: Upgrade to 2.09 and add ptest lzo_init checksum changed due to date change, not license change Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-support/lzo/lzo/run-ptest | 8 ++++++++ meta/recipes-support/lzo/lzo_2.08.bb | 24 ----------------------- meta/recipes-support/lzo/lzo_2.09.bb | 35 ++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 24 deletions(-) create mode 100644 meta/recipes-support/lzo/lzo/run-ptest delete mode 100644 meta/recipes-support/lzo/lzo_2.08.bb create mode 100644 meta/recipes-support/lzo/lzo_2.09.bb (limited to 'meta') diff --git a/meta/recipes-support/lzo/lzo/run-ptest b/meta/recipes-support/lzo/lzo/run-ptest new file mode 100644 index 0000000000..2ea7745f70 --- /dev/null +++ b/meta/recipes-support/lzo/lzo/run-ptest @@ -0,0 +1,8 @@ +#!/bin/sh + +./lzotest -mavail -n10 -q /etc/services +LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" +./align +./chksum +./simple +./testmini diff --git a/meta/recipes-support/lzo/lzo_2.08.bb b/meta/recipes-support/lzo/lzo_2.08.bb deleted file mode 100644 index af06e29a6f..0000000000 --- a/meta/recipes-support/lzo/lzo_2.08.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Lossless data compression library" -HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" -SECTION = "libs" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://src/lzo_init.c;beginline=5;endline=25;md5=a6e25df9a83b24629e847846ccdd8054" - -SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ - file://0001-Use-memcpy-instead-of-reinventing-it.patch \ - file://acinclude.m4 \ - " - -SRC_URI[md5sum] = "fcec64c26a0f4f4901468f360029678f" -SRC_URI[sha256sum] = "ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614" - -inherit autotools - -EXTRA_OECONF = "--enable-shared" - -do_configure_prepend () { - cp ${WORKDIR}/acinclude.m4 ${S}/ -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-support/lzo/lzo_2.09.bb b/meta/recipes-support/lzo/lzo_2.09.bb new file mode 100644 index 0000000000..2978617bbd --- /dev/null +++ b/meta/recipes-support/lzo/lzo_2.09.bb @@ -0,0 +1,35 @@ +SUMMARY = "Lossless data compression library" +HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" +SECTION = "libs" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://src/lzo_init.c;beginline=5;endline=25;md5=355023835a9b9eeb70ab895395e951ff" + +SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ + file://0001-Use-memcpy-instead-of-reinventing-it.patch \ + file://acinclude.m4 \ + file://run-ptest \ + " + +SRC_URI[md5sum] = "c7ffc9a103afe2d1bba0b015e7aa887f" +SRC_URI[sha256sum] = "f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c" + +inherit autotools ptest + +EXTRA_OECONF = "--enable-shared" + +do_configure_prepend () { + cp ${WORKDIR}/acinclude.m4 ${S}/ +} + +do_install_ptest() { + t=${D}${PTEST_PATH} + cp ${S}/util/check.sh $t + cp ${B}/minilzo/testmini $t + for i in tests/align tests/chksum lzotest/lzotest examples/simple + do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ + done +} + + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg