1eb8dc403SDave CobbleySUMMARY = "Lossless data compression library" 290fd73cbSAndrew GeisslerDESCRIPTION = "A portable lossless data compression library written in \ 390fd73cbSAndrew GeisslerANSI C that offers pretty fast compression and *extremely* fast decompression. " 4eb8dc403SDave CobbleyHOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" 5eb8dc403SDave CobbleySECTION = "libs" 6*7e0e3c0cSAndrew GeisslerLICENSE = "GPL-2.0-or-later" 7eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 8eb8dc403SDave Cobbley file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108" 9eb8dc403SDave Cobbley 10eb8dc403SDave CobbleySRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ 11eb8dc403SDave Cobbley file://0001-Use-memcpy-instead-of-reinventing-it.patch \ 12eb8dc403SDave Cobbley file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \ 13eb8dc403SDave Cobbley file://run-ptest \ 14eb8dc403SDave Cobbley " 15eb8dc403SDave Cobbley 16eb8dc403SDave CobbleySRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5" 17eb8dc403SDave CobbleySRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072" 18eb8dc403SDave Cobbley 19eb8dc403SDave Cobbleyinherit autotools ptest 20eb8dc403SDave Cobbley 21d159c7fbSAndrew GeisslerCVE_PRODUCT = "lzo oberhumer:lzo2" 22d159c7fbSAndrew Geissler 23eb8dc403SDave CobbleyEXTRA_OECONF = "--enable-shared" 24eb8dc403SDave Cobbley 25eb8dc403SDave Cobbleydo_install_ptest() { 26eb8dc403SDave Cobbley t=${D}${PTEST_PATH} 27eb8dc403SDave Cobbley cp ${S}/util/check.sh $t 28eb8dc403SDave Cobbley cp ${B}/minilzo/testmini $t 29eb8dc403SDave Cobbley for i in tests/align tests/chksum lzotest/lzotest examples/simple 30eb8dc403SDave Cobbley do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ 31eb8dc403SDave Cobbley done 32eb8dc403SDave Cobbley} 33eb8dc403SDave Cobbley 34eb8dc403SDave Cobbley 35eb8dc403SDave CobbleyBBCLASSEXTEND = "native nativesdk" 36