diff options
author | Saul Wold <sgw@linux.intel.com> | 2015-02-17 15:00:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-19 07:51:39 +0000 |
commit | dda70ca5525594256904f5663cbbca58e2b33f3e (patch) | |
tree | b457b4d4c6005098ed6c858b685692f1a8673c4c | |
parent | 32018182f32856931fe77ba5c4dda6e6e99327a4 (diff) | |
download | poky-dda70ca5525594256904f5663cbbca58e2b33f3e.tar.gz |
lzo: Upgrade to 2.09 and add ptest
lzo_init checksum changed due to date change, not license change
(From OE-Core rev: ad016fa7492ba23c751cf33dd1befde7782facfa)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/lzo/lzo/run-ptest | 8 | ||||
-rw-r--r-- | meta/recipes-support/lzo/lzo_2.09.bb (renamed from meta/recipes-support/lzo/lzo_2.08.bb) | 19 |
2 files changed, 23 insertions, 4 deletions
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ./lzotest -mavail -n10 -q /etc/services | ||
4 | LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" | ||
5 | ./align | ||
6 | ./chksum | ||
7 | ./simple | ||
8 | ./testmini | ||
diff --git a/meta/recipes-support/lzo/lzo_2.08.bb b/meta/recipes-support/lzo/lzo_2.09.bb index af06e29a6f..2978617bbd 100644 --- a/meta/recipes-support/lzo/lzo_2.08.bb +++ b/meta/recipes-support/lzo/lzo_2.09.bb | |||
@@ -3,17 +3,18 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
6 | file://src/lzo_init.c;beginline=5;endline=25;md5=a6e25df9a83b24629e847846ccdd8054" | 6 | file://src/lzo_init.c;beginline=5;endline=25;md5=355023835a9b9eeb70ab895395e951ff" |
7 | 7 | ||
8 | SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ | 8 | SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ |
9 | file://0001-Use-memcpy-instead-of-reinventing-it.patch \ | 9 | file://0001-Use-memcpy-instead-of-reinventing-it.patch \ |
10 | file://acinclude.m4 \ | 10 | file://acinclude.m4 \ |
11 | file://run-ptest \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | SRC_URI[md5sum] = "fcec64c26a0f4f4901468f360029678f" | 14 | SRC_URI[md5sum] = "c7ffc9a103afe2d1bba0b015e7aa887f" |
14 | SRC_URI[sha256sum] = "ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614" | 15 | SRC_URI[sha256sum] = "f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c" |
15 | 16 | ||
16 | inherit autotools | 17 | inherit autotools ptest |
17 | 18 | ||
18 | EXTRA_OECONF = "--enable-shared" | 19 | EXTRA_OECONF = "--enable-shared" |
19 | 20 | ||
@@ -21,4 +22,14 @@ do_configure_prepend () { | |||
21 | cp ${WORKDIR}/acinclude.m4 ${S}/ | 22 | cp ${WORKDIR}/acinclude.m4 ${S}/ |
22 | } | 23 | } |
23 | 24 | ||
25 | do_install_ptest() { | ||
26 | t=${D}${PTEST_PATH} | ||
27 | cp ${S}/util/check.sh $t | ||
28 | cp ${B}/minilzo/testmini $t | ||
29 | for i in tests/align tests/chksum lzotest/lzotest examples/simple | ||
30 | do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ | ||
31 | done | ||
32 | } | ||
33 | |||
34 | |||
24 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |