1*eb8dc403SDave CobbleySUMMARY = "Lossless data compression library"
2*eb8dc403SDave CobbleyHOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
3*eb8dc403SDave CobbleySECTION = "libs"
4*eb8dc403SDave CobbleyLICENSE = "GPLv2+"
5*eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6*eb8dc403SDave Cobbley                    file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108"
7*eb8dc403SDave Cobbley
8*eb8dc403SDave CobbleySRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
9*eb8dc403SDave Cobbley           file://0001-Use-memcpy-instead-of-reinventing-it.patch \
10*eb8dc403SDave Cobbley	   file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \
11*eb8dc403SDave Cobbley           file://run-ptest \
12*eb8dc403SDave Cobbley           "
13*eb8dc403SDave Cobbley
14*eb8dc403SDave CobbleySRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5"
15*eb8dc403SDave CobbleySRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
16*eb8dc403SDave Cobbley
17*eb8dc403SDave Cobbleyinherit autotools ptest
18*eb8dc403SDave Cobbley
19*eb8dc403SDave CobbleyEXTRA_OECONF = "--enable-shared"
20*eb8dc403SDave Cobbley
21*eb8dc403SDave Cobbleydo_install_ptest() {
22*eb8dc403SDave Cobbley	t=${D}${PTEST_PATH}
23*eb8dc403SDave Cobbley	cp ${S}/util/check.sh $t
24*eb8dc403SDave Cobbley	cp ${B}/minilzo/testmini $t
25*eb8dc403SDave Cobbley	for i in tests/align tests/chksum lzotest/lzotest examples/simple
26*eb8dc403SDave Cobbley		do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \
27*eb8dc403SDave Cobbley	done
28*eb8dc403SDave Cobbley}
29*eb8dc403SDave Cobbley
30*eb8dc403SDave Cobbley
31*eb8dc403SDave CobbleyBBCLASSEXTEND = "native nativesdk"
32