aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/ldid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/ldid/Makefile')
-rw-r--r--tools/depends/native/ldid/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/native/ldid/Makefile b/tools/depends/native/ldid/Makefile
index f72d15d345..7c426aa0a6 100644
--- a/tools/depends/native/ldid/Makefile
+++ b/tools/depends/native/ldid/Makefile
@@ -1,7 +1,7 @@
include ../../Makefile.include
PREFIX=$(NATIVEPREFIX)
PLATFORM=$(NATIVEPLATFORM)
-DEPS= ../../Makefile.include Makefile 01-disable-openssl-plist.patch
+DEPS = ../../Makefile.include Makefile 01-disable-openssl-plist.patch ../../download-files.include
# lib name, version
LIBNAME=ldid
@@ -9,15 +9,15 @@ VERSION=2.1.2-b462a92
# tarball source: https://github.com/sbingner/ldid/commit/b462a92349c57f38f2a6844adabee940afe01ca6
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
+SHA512=9582d747f55e8fd1d54c20b6a3f0825d2ab0cfaffeb6992e53b39343b3aa3936f31e6353d59518f294ecc154adf687fd2dee0405d9b2e594cc16b19409f3c0f4
+include ../../download-files.include
LIBDYLIB=$(PLATFORM)/ldid
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); patch -p1 -i ../01-disable-openssl-plist.patch