diff options
author | wsnipex <wsnipex@a1.net> | 2022-01-22 09:25:35 +0100 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2022-02-07 06:24:58 +0100 |
commit | c70f7b16e27347df41f4ca1dfeb144a290d4dd26 (patch) | |
tree | aa53286c9631a4020b829010e9b706fbd3d35558 /tools/depends/target/libandroidjni/Makefile | |
parent | 51de0c6ca714396b98df466698f870c3afd77e04 (diff) |
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libandroidjni/Makefile')
-rw-r--r-- | tools/depends/target/libandroidjni/Makefile | 6 |
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 |