aboutsummaryrefslogtreecommitdiff
path: root/core/xz
diff options
context:
space:
mode:
Diffstat (limited to 'core/xz')
-rwxr-xr-xcore/xz/build12
-rw-r--r--core/xz/checksums3
-rw-r--r--core/xz/meta3
-rw-r--r--core/xz/sources2
-rw-r--r--core/xz/version2
5 files changed, 19 insertions, 3 deletions
diff --git a/core/xz/build b/core/xz/build
index 6daf22f8..606cc351 100755
--- a/core/xz/build
+++ b/core/xz/build
@@ -5,3 +5,15 @@
make
make DESTDIR="$1" install
+
+# Link the binaries statically
+cd src
+rm -f xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec
+
+make LDFLAGS=-all-static -C xz
+make LDFLAGS=-all-static -C lzmainfo
+make LDFLAGS=-all-static -C xzdec
+
+for bin in xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec; do
+ clinst -m755 "$bin" "$1/usr/bin/${bin##*/}"
+done
diff --git a/core/xz/checksums b/core/xz/checksums
index 030e2e2a..fa74749d 100644
--- a/core/xz/checksums
+++ b/core/xz/checksums
@@ -1 +1,2 @@
-5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2
+%BLAKE3
+498eed5f2b4e2b86a50592caabe27bab79cdf87528e09419d77067575433ce9e xz-5.6.2.tar.bz2
diff --git a/core/xz/meta b/core/xz/meta
new file mode 100644
index 00000000..ab43cb4f
--- /dev/null
+++ b/core/xz/meta
@@ -0,0 +1,3 @@
+description: XZ compression utilities
+license: GPL-3.0-or-later, LGPL-2.1-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/core/xz/sources b/core/xz/sources
index 3309a027..b162ab5d 100644
--- a/core/xz/sources
+++ b/core/xz/sources
@@ -1 +1 @@
-https://fossies.org/linux/misc/xz-5.2.5.tar.bz2
+https://fossies.org/linux/misc/xz-5.6.2.tar.bz2
diff --git a/core/xz/version b/core/xz/version
index a1938eb9..35143381 100644
--- a/core/xz/version
+++ b/core/xz/version
@@ -1 +1 @@
-5.2.5 3
+5.6.2 1