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/libass/Makefile | |
parent | 51de0c6ca714396b98df466698f870c3afd77e04 (diff) |
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libass/Makefile')
-rw-r--r-- | tools/depends/target/libass/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libass/Makefile b/tools/depends/target/libass/Makefile index d6d429025d..6085889629 100644 --- a/tools/depends/target/libass/Makefile +++ b/tools/depends/target/libass/Makefile @@ -1,11 +1,13 @@ include ../../Makefile.include -DEPS= ../../Makefile.include Makefile +DEPS = ../../Makefile.include Makefile ../../download-files.include # lib name, version LIBNAME=libass VERSION=0.15.2 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.gz +SHA512=3b8022ca500d4a9e19e9b7106e29d23d4bca20012619c829bc3e77437bcb3c7bd8364800f7daeb3f2d8400afc7bbcaab487c7b30c429d9aed70e37ce4cb265a2 +include ../../download-files.include # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ @@ -15,10 +17,8 @@ LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.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); $(AUTORECONF) -vif |