summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/xz/xz_5.4.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/xz/xz_5.4.2.bb')
-rw-r--r--meta/recipes-extended/xz/xz_5.4.2.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-extended/xz/xz_5.4.2.bb b/meta/recipes-extended/xz/xz_5.4.2.bb
new file mode 100644
index 0000000000..87f9602bf6
--- /dev/null
+++ b/meta/recipes-extended/xz/xz_5.4.2.bb
@@ -0,0 +1,44 @@
1SUMMARY = "Utilities for managing LZMA compressed files"
2HOMEPAGE = "https://tukaani.org/xz/"
3DESCRIPTION = "XZ Utils is free general-purpose data compression software with a high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils."
4SECTION = "base"
5
6# The source includes bits of PD, GPL-2.0, GPL-3.0, LGPL-2.1-or-later, but the
7# only file which is GPL-3.0 is an m4 macro which isn't shipped in any of our
8# packages, and the LGPL bits are under lib/, which appears to be used for
9# libgnu, which appears to be used for DOS builds. So we're left with
10# GPL-2.0-or-later and PD.
11LICENSE = "GPL-2.0-or-later & GPL-3.0-with-autoconf-exception & LGPL-2.1-or-later & PD"
12LICENSE:${PN} = "GPL-2.0-or-later"
13LICENSE:${PN}-dev = "GPL-2.0-or-later"
14LICENSE:${PN}-staticdev = "GPL-2.0-or-later"
15LICENSE:${PN}-doc = "GPL-2.0-or-later"
16LICENSE:${PN}-dbg = "GPL-2.0-or-later"
17LICENSE:${PN}-locale = "GPL-2.0-or-later"
18LICENSE:liblzma = "PD"
19
20LIC_FILES_CHKSUM = "file://COPYING;md5=c8ea84ebe7b93cce676b54355dc6b2c0 \
21 file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
22 file://COPYING.GPLv3;md5=1ebbd3e34237af26da5dc08a4e440464 \
23 file://COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c \
24 file://lib/getopt.c;endline=23;md5=2069b0ee710572c03bb3114e4532cd84 \
25 "
26
27SRC_URI = "https://tukaani.org/xz/xz-${PV}.tar.gz"
28SRC_URI[sha256sum] = "87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05"
29UPSTREAM_CHECK_REGEX = "xz-(?P<pver>\d+(\.\d+)+)\.tar"
30
31CACHED_CONFIGUREVARS += "gl_cv_posix_shell=/bin/sh"
32
33inherit autotools gettext
34
35PACKAGES =+ "liblzma"
36
37FILES:liblzma = "${libdir}/liblzma*${SOLIBS}"
38
39inherit update-alternatives
40ALTERNATIVE_PRIORITY = "100"
41ALTERNATIVE:${PN} = "xz xzcat unxz \
42 lzma lzcat unlzma"
43
44BBCLASSEXTEND = "native nativesdk"