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/libiconv | |
parent | 51de0c6ca714396b98df466698f870c3afd77e04 (diff) |
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libiconv')
-rw-r--r-- | tools/depends/target/libiconv/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libiconv/Makefile b/tools/depends/target/libiconv/Makefile index 9fd19a8410..8782e51a78 100644 --- a/tools/depends/target/libiconv/Makefile +++ b/tools/depends/target/libiconv/Makefile @@ -1,11 +1,13 @@ include ../../Makefile.include -DEPS= ../../Makefile.include Makefile +DEPS = ../../Makefile.include Makefile ../../download-files.include # lib name, version LIBNAME=libiconv VERSION=1.15 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.gz +SHA512=1233fe3ca09341b53354fd4bfe342a7589181145a1232c9919583a8c9979636855839049f3406f253a9d9829908816bb71fd6d34dd544ba290d6f04251376b1a +include ../../download-files.include # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) build-aux/; \ @@ -16,10 +18,8 @@ LIBDYLIB=$(PLATFORM)/lib/.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); $(CONFIGURE) |