1*4882a593SmuzhiyunDESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \ 2*4882a593Smuzhiyuncompression/uncompression functions from the bzip2 compression library." 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSECTION = "libs" 5*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunMAINTAINER= "Poky <poky@yoctoproject.org>" 8*4882a593SmuzhiyunHOMEPAGE= "https://metacpan.org/release/Compress-Raw-Bzip2" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ 11*4882a593Smuzhiyunfile://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.096.tar.gz" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunSRC_URI[md5sum] = "4fdb7ea5071e4b774c52c37331386355" 16*4882a593SmuzhiyunSRC_URI[sha256sum] = "a564e7634eca7740c5487d01effe1461e9e51b8909e69b3d8f5be98997958cbe" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunDEPENDS += "bzip2" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunS = "${WORKDIR}/Compress-Raw-Bzip2-${PV}" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuninherit cpan 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunexport BUILD_BZIP2="0" 25*4882a593Smuzhiyunexport BZIP2_INCLUDE="-I${STAGING_DIR_HOST}${includedir}" 26*4882a593Smuzhiyun 27*4882a593Smuzhiyundo_compile() { 28*4882a593Smuzhiyun export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" 29*4882a593Smuzhiyun cpan_do_compile 30*4882a593Smuzhiyun} 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunBBCLASSEXTEND = "native" 33