aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/wayland/Makefile
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2022-01-22 09:25:35 +0100
committerwsnipex <wsnipex@a1.net>2022-02-07 06:24:58 +0100
commitc70f7b16e27347df41f4ca1dfeb144a290d4dd26 (patch)
treeaa53286c9631a4020b829010e9b706fbd3d35558 /tools/depends/target/wayland/Makefile
parent51de0c6ca714396b98df466698f870c3afd77e04 (diff)
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/wayland/Makefile')
-rw-r--r--tools/depends/target/wayland/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/wayland/Makefile b/tools/depends/target/wayland/Makefile
index ffc8ee5fd1..e4950ff2e9 100644
--- a/tools/depends/target/wayland/Makefile
+++ b/tools/depends/target/wayland/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS=../../Makefile.include Makefile
+DEPS =../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=wayland
VERSION=1.17.0
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.xz
+SHA512=c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946
+include ../../download-files.include
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX) --with-host-scanner --disable-documentation --disable-dtd-validation
@@ -14,10 +16,8 @@ LIBDYLIB=$(PLATFORM)/.libs/libwayland-client.la
all: .installed-$(PLATFORM)
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
+$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(CONFIGURE)