Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Lossless data compression library" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "A portable lossless data compression library written in \ |
| 3 | ANSI C that offers pretty fast compression and *extremely* fast decompression. " |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 4 | HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" |
| 5 | SECTION = "libs" |
| 6 | LICENSE = "GPLv2+" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 8 | file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108" |
| 9 | |
| 10 | SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ |
| 11 | file://0001-Use-memcpy-instead-of-reinventing-it.patch \ |
| 12 | file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | file://run-ptest \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5" |
| 17 | SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072" |
| 18 | |
| 19 | inherit autotools ptest |
| 20 | |
| 21 | EXTRA_OECONF = "--enable-shared" |
| 22 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | do_install_ptest() { |
| 24 | t=${D}${PTEST_PATH} |
| 25 | cp ${S}/util/check.sh $t |
| 26 | cp ${B}/minilzo/testmini $t |
| 27 | for i in tests/align tests/chksum lzotest/lzotest examples/simple |
| 28 | do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ |
| 29 | done |
| 30 | } |
| 31 | |
| 32 | |
| 33 | BBCLASSEXTEND = "native nativesdk" |