diff options
Diffstat (limited to 'meta/recipes-extended/bzip2/bzip2_1.0.8.bb')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb new file mode 100644 index 0000000000..73d933a002 --- /dev/null +++ b/meta/recipes-extended/bzip2/bzip2_1.0.8.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=600af43c50f1fcb82e32f19b32df4664" | ||
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] = "67e051268d0c475ea773822f7500d0e5" | ||
16 | SRC_URI[sha256sum] = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" | ||
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" | ||