1*4882a593SmuzhiyunSUMMARY = "PBZIP2 is a parallel implementation of bzip2" 2*4882a593SmuzhiyunDESCRIPTION = "PBZIP2 is a parallel implementation of the bzip2 block-sorting \ 3*4882a593Smuzhiyunfile compressor that uses pthreads and achieves near-linear speedup on SMP \ 4*4882a593Smuzhiyunmachines. The output of this version is fully compatible with bzip2 v1.0.2 or \ 5*4882a593Smuzhiyunnewer (ie: anything compressed with pbzip2 can be decompressed with bzip2)." 6*4882a593SmuzhiyunHOMEPAGE = "https://launchpad.net/pbzip2/" 7*4882a593SmuzhiyunSECTION = "console/utils" 8*4882a593SmuzhiyunLICENSE = "bzip2-1.0.6" 9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=398b8832c6f840cfebd20ab2be6a3743" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunDEPENDS = "bzip2" 12*4882a593SmuzhiyunDEPENDS:append:class-native = " bzip2-replacement-native" 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunSRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz \ 15*4882a593Smuzhiyun file://0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch \ 16*4882a593Smuzhiyun " 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunSRC_URI[md5sum] = "4cb87da2dba05540afce162f34b3a9a6" 19*4882a593SmuzhiyunSRC_URI[sha256sum] = "8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://launchpad.net/pbzip2/+milestones" 22*4882a593SmuzhiyunUPSTREAM_CHECK_REGEX = "pbzip2 (?P<pver>\d+(\.\d+)+)" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunEXTRA_OEMAKE = "CXX='${CXX} ${CXXFLAGS}' LDFLAGS='${LDFLAGS}'" 25*4882a593Smuzhiyun 26*4882a593Smuzhiyundo_install() { 27*4882a593Smuzhiyun install -d ${D}${bindir} 28*4882a593Smuzhiyun install -m 0755 pbzip2 ${D}${bindir}/ 29*4882a593Smuzhiyun} 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 32