1*73bd93f1SPatrick WilliamsSUMMARY = "Data compression library providing in-memory LZMA compression and decompression functions" 2*73bd93f1SPatrick WilliamsHOMEPAGE = "https://www.nongnu.org/lzip/lzlib.html" 3*73bd93f1SPatrick WilliamsDESCRIPTION = "Lzlib is a data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is the lzip format. Lzlib is written in C. " 4*73bd93f1SPatrick WilliamsLICENSE = "BSD-2-Clause" 5*73bd93f1SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=04d943636aa1482e0a97d924d9f4f68f \ 6*73bd93f1SPatrick Williams " 7*73bd93f1SPatrick Williams 8*73bd93f1SPatrick WilliamsSRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzlib/lzlib-${PV}.tar.gz" 9*73bd93f1SPatrick WilliamsSRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f" 10*73bd93f1SPatrick Williams 11*73bd93f1SPatrick WilliamsB = "${WORKDIR}/build" 12*73bd93f1SPatrick Williamsdo_configure[cleandirs] = "${B}" 13*73bd93f1SPatrick Williams 14*73bd93f1SPatrick WilliamsCONFIGUREOPTS = "\ 15*73bd93f1SPatrick Williams '--srcdir=${S}' \ 16*73bd93f1SPatrick Williams '--prefix=${prefix}' \ 17*73bd93f1SPatrick Williams '--exec-prefix=${exec_prefix}' \ 18*73bd93f1SPatrick Williams '--bindir=${bindir}' \ 19*73bd93f1SPatrick Williams '--datadir=${datadir}' \ 20*73bd93f1SPatrick Williams '--infodir=${infodir}' \ 21*73bd93f1SPatrick Williams '--libdir=${libdir}' \ 22*73bd93f1SPatrick Williams '--sysconfdir=${sysconfdir}' \ 23*73bd93f1SPatrick Williams '--enable-shared' \ 24*73bd93f1SPatrick Williams '--disable-static' \ 25*73bd93f1SPatrick Williams 'CC=${CC}' \ 26*73bd93f1SPatrick Williams 'CPPFLAGS=${CPPFLAGS}' \ 27*73bd93f1SPatrick Williams 'CXXFLAGS=${CXXFLAGS}' \ 28*73bd93f1SPatrick Williams 'LDFLAGS=${LDFLAGS}' \ 29*73bd93f1SPatrick Williams" 30*73bd93f1SPatrick Williams 31*73bd93f1SPatrick Williamsdo_configure () { 32*73bd93f1SPatrick Williams ${S}/configure ${CONFIGUREOPTS} 33*73bd93f1SPatrick Williams} 34*73bd93f1SPatrick Williams 35*73bd93f1SPatrick Williamsdo_install () { 36*73bd93f1SPatrick Williams oe_runmake 'DESTDIR=${D}' install 37*73bd93f1SPatrick Williams} 38*73bd93f1SPatrick Williams 39*73bd93f1SPatrick WilliamsBBCLASSEXTEND = "native nativesdk" 40