aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libgpg-error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libgpg-error/Makefile')
-rw-r--r--tools/depends/target/libgpg-error/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libgpg-error/Makefile b/tools/depends/target/libgpg-error/Makefile
index 39052222ca..40b26c3f3f 100644
--- a/tools/depends/target/libgpg-error/Makefile
+++ b/tools/depends/target/libgpg-error/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile tvos_remove-fork.patch libgpg-error-1.36-gawk5-support.patch
+DEPS = ../../Makefile.include Makefile tvos_remove-fork.patch libgpg-error-1.36-gawk5-support.patch ../../download-files.include
# lib name, version
LIBNAME=libgpg-error
VERSION=1.36
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
+SHA512=6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346
+include ../../download-files.include
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX) \
@@ -18,10 +20,8 @@ LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a
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 ../libgpg-error-1.36-gawk5-support.patch