Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "PBZIP2 is a parallel implementation of bzip2" |
| 2 | DESCRIPTION = "PBZIP2 is a parallel implementation of the bzip2 block-sorting \ |
| 3 | file compressor that uses pthreads and achieves near-linear speedup on SMP \ |
| 4 | machines. The output of this version is fully compatible with bzip2 v1.0.2 or \ |
| 5 | newer (ie: anything compressed with pbzip2 can be decompressed with bzip2)." |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 6 | HOMEPAGE = "https://launchpad.net/pbzip2/" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | SECTION = "console/utils" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | LICENSE = "bzip2-1.0.6" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=398b8832c6f840cfebd20ab2be6a3743" |
| 10 | |
| 11 | DEPENDS = "bzip2" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | DEPENDS:append:class-native = " bzip2-replacement-native" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 13 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz \ |
| 15 | file://0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch \ |
| 16 | " |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | |
| 18 | SRC_URI[md5sum] = "4cb87da2dba05540afce162f34b3a9a6" |
| 19 | SRC_URI[sha256sum] = "8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6" |
| 20 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | UPSTREAM_CHECK_URI = "https://launchpad.net/pbzip2/+milestones" |
| 22 | UPSTREAM_CHECK_REGEX = "pbzip2 (?P<pver>\d+(\.\d+)+)" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | |
| 24 | EXTRA_OEMAKE = "CXX='${CXX} ${CXXFLAGS}' LDFLAGS='${LDFLAGS}'" |
| 25 | |
| 26 | do_install() { |
| 27 | install -d ${D}${bindir} |
| 28 | install -m 0755 pbzip2 ${D}${bindir}/ |
| 29 | } |
| 30 | |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 31 | BBCLASSEXTEND = "native nativesdk" |