aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libjpeg-turbo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libjpeg-turbo/Makefile')
-rw-r--r--tools/depends/target/libjpeg-turbo/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libjpeg-turbo/Makefile b/tools/depends/target/libjpeg-turbo/Makefile
index 06a456e0e4..f7ab5d2a83 100644
--- a/tools/depends/target/libjpeg-turbo/Makefile
+++ b/tools/depends/target/libjpeg-turbo/Makefile
@@ -1,20 +1,20 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile 01-disable-executables.patch
+DEPS = ../../Makefile.include Makefile 01-disable-executables.patch ../../download-files.include
# lib name, version
LIBNAME=libjpeg-turbo
VERSION=2.1.1
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
+SHA512=9cf61b4677b38e254063248a3fdbe138634d23a35ae8f2ee2661bdb3248b1d0500bd43201b8d9fe66c779d578074fd9ed19bc097ba22e10143530c2a19738673
+include ../../download-files.include
LIBDYLIB=$(PLATFORM)/build/libjpeg.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 ../01-disable-executables.patch