diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-07-01 00:38:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-02 22:01:15 +0100 |
commit | 1c6b1f926c600a61dbccf9653591084357a2e740 (patch) | |
tree | c7608d7a2ebff8172a3e7c4c7f7b7d162fdeb06a /meta/recipes-extended/bzip2/bzip2_1.0.7.bb | |
parent | 4cbe4cbdc0e6f05ec572e2f8813b0551b3026b03 (diff) | |
download | poky-1c6b1f926c600a61dbccf9653591084357a2e740.tar.gz |
bzip2: update to 1.0.7
Removed patches were upstreamed.
(From OE-Core rev: 3f88fcac8b5d3067bd4079af336eaf823ba00c96)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bzip2/bzip2_1.0.7.bb')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.7.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.7.bb b/meta/recipes-extended/bzip2/bzip2_1.0.7.bb new file mode 100644 index 0000000000..02e9d9ef07 --- /dev/null +++ b/meta/recipes-extended/bzip2/bzip2_1.0.7.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Very high-quality data compression program" | ||
2 | DESCRIPTION = "bzip2 compresses files using the Burrows-Wheeler block-sorting text compression algorithm, and \ | ||
3 | Huffman coding. Compression is generally considerably better than that achieved by more conventional \ | ||
4 | LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors." | ||
5 | HOMEPAGE = "https://sourceware.org/bzip2/" | ||
6 | SECTION = "console/utils" | ||
7 | LICENSE = "bzip2" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;endline=37;md5=39406315f540c69bd05b1531daedd2ae" | ||
9 | |||
10 | SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ | ||
11 | file://configure.ac;subdir=${BP} \ | ||
12 | file://Makefile.am;subdir=${BP} \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "1a6a61cc867be4f3d6549037a09bf13e" | ||
16 | SRC_URI[sha256sum] = "e768a87c5b1a79511499beb41500bcc4caf203726fff46a6f5f9ad27fe08ab2b" | ||
17 | |||
18 | UPSTREAM_CHECK_URI = "https://www.sourceware.org/pub/bzip2/" | ||
19 | UPSTREAM_VERSION_UNKNOWN = "1" | ||
20 | |||
21 | PACKAGES =+ "libbz2" | ||
22 | |||
23 | CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" | ||
24 | |||
25 | inherit autotools update-alternatives ptest relative_symlinks | ||
26 | |||
27 | ALTERNATIVE_PRIORITY = "100" | ||
28 | ALTERNATIVE_${PN} = "bunzip2 bzcat bzip2" | ||
29 | |||
30 | #install binaries to bzip2-native under sysroot for replacement-native | ||
31 | EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" | ||
32 | |||
33 | do_install_ptest () { | ||
34 | sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile | ||
35 | } | ||
36 | |||
37 | FILES_libbz2 = "${libdir}/lib*${SOLIBS}" | ||
38 | |||
39 | RDEPENDS_${PN}-ptest += "make" | ||
40 | |||
41 | PROVIDES_append_class-native = " bzip2-replacement-native" | ||
42 | BBCLASSEXTEND = "native nativesdk" | ||