aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-09-22 15:47:44 +1000
committerfuzzard <fuzzard@kodi.tv>2022-09-22 19:58:43 +1000
commitd4685e43b47bbbaf2ac444d47449fa9005a7df41 (patch)
treee5ebdb4c0617065d5e2630e86989b8989f439a5e
parentb4d0d08c489d0e9a8418b1132929639207e56d41 (diff)
[tools/depends][native] Bump xz 5.2.6
-rw-r--r--tools/depends/native/xz/Makefile13
-rw-r--r--tools/depends/native/xz/XZ-VERSION4
2 files changed, 6 insertions, 11 deletions
diff --git a/tools/depends/native/xz/Makefile b/tools/depends/native/xz/Makefile
index a2635cc179..e136ee3eaa 100644
--- a/tools/depends/native/xz/Makefile
+++ b/tools/depends/native/xz/Makefile
@@ -1,15 +1,7 @@
-include ../../Makefile.include
+include ../../Makefile.include XZ-VERSION ../../download-files.include
PREFIX=$(NATIVEPREFIX)
PLATFORM=$(NATIVEPLATFORM)
-DEPS = ../../Makefile.include Makefile ../../download-files.include
-
-# app name, version
-APPNAME=xz
-VERSION=5.2.5
-SOURCE=$(APPNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-SHA512=7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce
-include ../../download-files.include
+DEPS = ../../Makefile.include Makefile XZ-VERSION ../../download-files.include
export LIBTOOL=builds/unix/libtool
export PATH:=$(PREFIX)/bin:$(PATH)
@@ -19,7 +11,6 @@ APP=$(PLATFORM)/src/xz/xz
all: .installed-$(PLATFORM)
-
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
-rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
diff --git a/tools/depends/native/xz/XZ-VERSION b/tools/depends/native/xz/XZ-VERSION
new file mode 100644
index 0000000000..288df10b58
--- /dev/null
+++ b/tools/depends/native/xz/XZ-VERSION
@@ -0,0 +1,4 @@
+LIBNAME=xz
+VERSION=5.2.6
+ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz
+SHA512=5c69a492227c0ff72836d7a87e6372dc2e62bedfffb33f057263e28a6341825cef67834a863ed6ac02c5368c86da89f8affbe767f8bb914064cfa478f653e935