diff options
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2/Makefile.am | 2 | ||||
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 56 |
2 files changed, 29 insertions, 29 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2/Makefile.am b/meta/recipes-extended/bzip2/bzip2/Makefile.am index 7338df03eb..d12d3a45e4 100644 --- a/meta/recipes-extended/bzip2/bzip2/Makefile.am +++ b/meta/recipes-extended/bzip2/bzip2/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | lib_LTLIBRARIES = libbz2.la | 2 | lib_LTLIBRARIES = libbz2.la |
3 | libbz2_la_LDFLAGS = -version-info 1:6:0 | 3 | libbz2_la_LDFLAGS = -version-info 1:8:0 |
4 | 4 | ||
5 | libbz2_la_SOURCES = blocksort.c \ | 5 | libbz2_la_SOURCES = blocksort.c \ |
6 | huffman.c \ | 6 | huffman.c \ |
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb index 70eb67f1f2..7d7ab3856b 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb | |||
@@ -4,25 +4,25 @@ Huffman coding. Compression is generally considerably better than that achieved | |||
4 | LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors." | 4 | LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors." |
5 | HOMEPAGE = "https://sourceware.org/bzip2/" | 5 | HOMEPAGE = "https://sourceware.org/bzip2/" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | LICENSE = "bzip2-1.0.6 & GPLv3+ & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib" | 7 | LICENSE = "bzip2-1.0.6 & GPL-3.0-or-later & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib" |
8 | LICENSE_${PN} = "bzip2-1.0.6" | 8 | LICENSE:${PN} = "bzip2-1.0.6" |
9 | LICENSE_${PN}-dev = "bzip2-1.0.6" | 9 | LICENSE:${PN}-dev = "bzip2-1.0.6" |
10 | LICENSE_${PN}-dbg = "bzip2-1.0.6" | 10 | LICENSE:${PN}-dbg = "bzip2-1.0.6" |
11 | LICENSE_${PN}-doc = "bzip2-1.0.6" | 11 | LICENSE:${PN}-doc = "bzip2-1.0.6" |
12 | LICENSE_${PN}-src = "bzip2-1.0.6" | 12 | LICENSE:${PN}-src = "bzip2-1.0.6" |
13 | LICENSE_libbz2 = "bzip2-1.0.6" | 13 | LICENSE:libbz2 = "bzip2-1.0.6" |
14 | LICENSE_${PN}-ptest = "bzip2-1.0.6 & GPLv3+ & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib" | 14 | LICENSE:${PN}-ptest = "bzip2-1.0.6 & GPL-3.0-or-later & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib" |
15 | 15 | ||
16 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;endline=37;md5=600af43c50f1fcb82e32f19b32df4664 \ | 16 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;endline=37;md5=600af43c50f1fcb82e32f19b32df4664 \ |
17 | file://${WORKDIR}/git/commons-compress/LICENSE.txt;md5=86d3f3a95c324c9479bd8986968f4327 \ | 17 | file://${UNPACKDIR}/git/commons-compress/LICENSE.txt;md5=86d3f3a95c324c9479bd8986968f4327 \ |
18 | file://${WORKDIR}/git/dotnetzip/License.txt;md5=9cb56871eed4e748c3bc7e8ff352a54f \ | 18 | file://${UNPACKDIR}/git/dotnetzip/License.txt;md5=9cb56871eed4e748c3bc7e8ff352a54f \ |
19 | file://${WORKDIR}/git/dotnetzip/License.zlib.txt;md5=cc421ccd22eeb2e5db6b79e6de0a029f \ | 19 | file://${UNPACKDIR}/git/dotnetzip/License.zlib.txt;md5=cc421ccd22eeb2e5db6b79e6de0a029f \ |
20 | file://${WORKDIR}/git/go/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \ | 20 | file://${UNPACKDIR}/git/go/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \ |
21 | file://${WORKDIR}/git/lbzip2/COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 21 | file://${UNPACKDIR}/git/lbzip2/COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
22 | " | 22 | " |
23 | 23 | ||
24 | SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ | 24 | SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ |
25 | git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests \ | 25 | git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests;branch=master;protocol=https \ |
26 | file://configure.ac;subdir=${BP} \ | 26 | file://configure.ac;subdir=${BP} \ |
27 | file://Makefile.am;subdir=${BP} \ | 27 | file://Makefile.am;subdir=${BP} \ |
28 | file://run-ptest \ | 28 | file://run-ptest \ |
@@ -36,35 +36,35 @@ UPSTREAM_CHECK_URI = "https://www.sourceware.org/pub/bzip2/" | |||
36 | 36 | ||
37 | PACKAGES =+ "libbz2" | 37 | PACKAGES =+ "libbz2" |
38 | 38 | ||
39 | CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" | 39 | CFLAGS:append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" |
40 | 40 | ||
41 | inherit autotools update-alternatives ptest relative_symlinks | 41 | inherit autotools update-alternatives ptest relative_symlinks |
42 | 42 | ||
43 | ALTERNATIVE_PRIORITY = "100" | 43 | ALTERNATIVE_PRIORITY = "100" |
44 | ALTERNATIVE_${PN} = "bunzip2 bzcat bzip2" | 44 | ALTERNATIVE:${PN} = "bunzip2 bzcat bzip2" |
45 | 45 | ||
46 | #install binaries to bzip2-native under sysroot for replacement-native | 46 | #install binaries to bzip2-native under sysroot for replacement-native |
47 | EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" | 47 | EXTRA_OECONF:append:class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" |
48 | 48 | ||
49 | do_configure_prepend () { | 49 | do_configure:prepend () { |
50 | sed -i -e "s|%BZIP2_VERSION%|${PV}|" ${S}/configure.ac | 50 | sed -i -e "s|%BZIP2_VERSION%|${PV}|" ${S}/configure.ac |
51 | } | 51 | } |
52 | 52 | ||
53 | do_install_ptest () { | 53 | do_install_ptest () { |
54 | install -d ${D}${PTEST_PATH}/bzip2-tests | 54 | install -d ${D}${PTEST_PATH}/bzip2-tests |
55 | cp -r ${WORKDIR}/git/commons-compress ${D}${PTEST_PATH}/bzip2-tests/commons-compress | 55 | cp -r ${UNPACKDIR}/git/commons-compress ${D}${PTEST_PATH}/bzip2-tests/commons-compress |
56 | cp -r ${WORKDIR}/git/dotnetzip ${D}${PTEST_PATH}/bzip2-tests/dotnetzip | 56 | cp -r ${UNPACKDIR}/git/dotnetzip ${D}${PTEST_PATH}/bzip2-tests/dotnetzip |
57 | cp -r ${WORKDIR}/git/go ${D}${PTEST_PATH}/bzip2-tests/go | 57 | cp -r ${UNPACKDIR}/git/go ${D}${PTEST_PATH}/bzip2-tests/go |
58 | cp -r ${WORKDIR}/git/lbzip2 ${D}${PTEST_PATH}/bzip2-tests/lbzip2 | 58 | cp -r ${UNPACKDIR}/git/lbzip2 ${D}${PTEST_PATH}/bzip2-tests/lbzip2 |
59 | cp -r ${WORKDIR}/git/pyflate ${D}${PTEST_PATH}/bzip2-tests/pyflate | 59 | cp -r ${UNPACKDIR}/git/pyflate ${D}${PTEST_PATH}/bzip2-tests/pyflate |
60 | cp ${WORKDIR}/git/README ${D}${PTEST_PATH}/bzip2-tests/ | 60 | cp ${UNPACKDIR}/git/README ${D}${PTEST_PATH}/bzip2-tests/ |
61 | cp ${WORKDIR}/git/run-tests.sh ${D}${PTEST_PATH}/bzip2-tests/ | 61 | cp ${UNPACKDIR}/git/run-tests.sh ${D}${PTEST_PATH}/bzip2-tests/ |
62 | sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile | 62 | sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile |
63 | } | 63 | } |
64 | 64 | ||
65 | FILES_libbz2 = "${libdir}/lib*${SOLIBS}" | 65 | FILES:libbz2 = "${libdir}/lib*${SOLIBS}" |
66 | 66 | ||
67 | RDEPENDS_${PN}-ptest += "make bash" | 67 | RDEPENDS:${PN}-ptest += "make bash" |
68 | 68 | ||
69 | PROVIDES_append_class-native = " bzip2-replacement-native" | 69 | PROVIDES:append:class-native = " bzip2-replacement-native" |
70 | BBCLASSEXTEND = "native nativesdk" | 70 | BBCLASSEXTEND = "native nativesdk" |