aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/ninja/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/ninja/Makefile')
-rw-r--r--tools/depends/native/ninja/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/native/ninja/Makefile b/tools/depends/native/ninja/Makefile
index 14aa7e64ec..3cf2505588 100644
--- a/tools/depends/native/ninja/Makefile
+++ b/tools/depends/native/ninja/Makefile
@@ -1,21 +1,21 @@
include ../../Makefile.include
PLATFORM=$(NATIVEPLATFORM)
-DEPS= ../../Makefile.include Makefile
+DEPS = ../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=ninja
VERSION=1.10.2
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
+SHA512=895412ae1cbc83c656e92f282602a29300e08274e9dea0da4464202ae556e7a1ab03bec057f23da4756bbd91bd2d744cd7a64b336740fd2782bb4db5c3b7b496
+include ../../download-files.include
LIBDYLIB=$(PLATFORM)/ninja
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)