1*8460358cSPatrick WilliamsSUMMARY = "Perl interface to the zlib compression library." 2*8460358cSPatrick WilliamsDESCRIPTION = "The Compress::Raw::Zlib module provides a Perl interface \ 3*8460358cSPatrick Williamsto the zlib compression library (see 'AUTHOR' for details about where to \ 4*8460358cSPatrick Williamsget zlib)." 5*8460358cSPatrick WilliamsHOMEPAGE = "https://metacpan.org/release/Compress-Raw-Zlib" 6*8460358cSPatrick WilliamsSECTION = "libs" 7*8460358cSPatrick WilliamsLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8*8460358cSPatrick Williams 9*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://README;beginline=8;endline=17;md5=1bb3479faca6bb2086c05a33a934f62a" 10*8460358cSPatrick Williams 11*8460358cSPatrick WilliamsSRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Zlib-${PV}.tar.gz" 12*8460358cSPatrick Williams 13*8460358cSPatrick WilliamsSRC_URI[sha256sum] = "56b21c99cb3a3a7f7876a74dd05daa3f41fc9143ddd4dc98f8e46710a106af45" 14*8460358cSPatrick Williams 15*8460358cSPatrick WilliamsDEPENDS += "zlib" 16*8460358cSPatrick Williams 17*8460358cSPatrick WilliamsS = "${WORKDIR}/Compress-Raw-Zlib-${PV}" 18*8460358cSPatrick Williams 19*8460358cSPatrick Williamsinherit cpan 20*8460358cSPatrick Williams 21*8460358cSPatrick Williamsexport BUILD_ZLIB="0" 22*8460358cSPatrick Williams 23*8460358cSPatrick Williamsdo_compile() { 24*8460358cSPatrick Williams export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" 25*8460358cSPatrick Williams cpan_do_compile 26*8460358cSPatrick Williams} 27*8460358cSPatrick Williams 28*8460358cSPatrick WilliamsBBCLASSEXTEND = "native" 29