aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libandroidjni/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libandroidjni/Makefile')
-rw-r--r--tools/depends/target/libandroidjni/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/depends/target/libandroidjni/Makefile b/tools/depends/target/libandroidjni/Makefile
index ee65896ff4..296f568e48 100644
--- a/tools/depends/target/libandroidjni/Makefile
+++ b/tools/depends/target/libandroidjni/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
+DEPS = ../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=libandroidjni
VERSION=7b3e6a3be0e4f3c704016c44eeb37b5f026d6b9a
SOURCE=archive
ARCHIVE=$(VERSION).tar.gz
+SHA512=6dfe592e13a7b1ce68b349201a4f0051b365471a545fa90e4a77e0a8f506710d6bfa8e8d0df1b972c345d41e490229d9e7fc2acd49be0f4a49176ea056ad9a3e
+include ../../download-files.include
GIT_BASE_URL=https://github.com/xbmc
LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.libs/$(LIBNAME).a
@@ -15,7 +17,7 @@ all: .installed-$(PLATFORM)
$(TARBALLS_LOCATION)/$(ARCHIVE):
cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(GIT_BASE_URL)/$(LIBNAME)/$(SOURCE)/$(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); rm -rf build; mkdir -p build