diff options
author | Fan Xin <fan.xin@jp.fujitsu.com> | 2017-06-02 13:49:05 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-06 19:49:56 +0100 |
commit | 874cf9e9ec72eb7235ef1997fdfea9c33b3628f6 (patch) | |
tree | 3d15779a3f8f1a4a5d613fa40aff95823d2a8c03 /meta/recipes-support/lzo/lzo_2.10.bb | |
parent | 886f9afa1ac7a8b6eba514846f616378b78d088e (diff) | |
download | openembedded-core-contrib-874cf9e9ec72eb7235ef1997fdfea9c33b3628f6.tar.gz |
lzo: Upgrade 2.09 -> 2.10
1. Upgrade lzo from 2.09 to 2.10
2. Update the license checksum due to the date change, not license change.
3. Add a patch to fix the undefined error.
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/lzo/lzo_2.10.bb')
-rw-r--r-- | meta/recipes-support/lzo/lzo_2.10.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/lzo/lzo_2.10.bb b/meta/recipes-support/lzo/lzo_2.10.bb new file mode 100644 index 0000000000..490d2307ac --- /dev/null +++ b/meta/recipes-support/lzo/lzo_2.10.bb @@ -0,0 +1,36 @@ +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=9ae697ca01829b0a383c5d2d163e0108" + +SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ + file://0001-Use-memcpy-instead-of-reinventing-it.patch \ + file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \ + file://acinclude.m4 \ + file://run-ptest \ + " + +SRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5" +SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072" + +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" |