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..2480b54b 100644
--- a/core/xz/checksums
+++ b/core/xz/checksums
@@ -1 +1,2 @@
-5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2
+%BLAKE3
+750a05793aeba3cd68d1d5425db3a527c73a89ab8c3a29401236d531548099af xz-5.4.6.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..7f576a65 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.4.6.tar.bz2
diff --git a/core/xz/version b/core/xz/version
index a1938eb9..fe0075d2 100644
--- a/core/xz/version
+++ b/core/xz/version
@@ -1 +1 @@
-5.2.5 3
+5.4.6 1