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/libuuid | |
parent | 51de0c6ca714396b98df466698f870c3afd77e04 (diff) |
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libuuid')
-rw-r--r-- | tools/depends/target/libuuid/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libuuid/Makefile b/tools/depends/target/libuuid/Makefile index 6d8ee1d061..f8119c2c8a 100644 --- a/tools/depends/target/libuuid/Makefile +++ b/tools/depends/target/libuuid/Makefile @@ -1,5 +1,5 @@ include ../../Makefile.include -DEPS= ../../Makefile.include Makefile +DEPS = ../../Makefile.include Makefile ../../download-files.include # We use uuid from e2fsprogs for legacy. util-linux works fine on android now # lib name, version @@ -7,15 +7,15 @@ LIBNAME=libuuid VERSION=1.46.5 SOURCE=e2fsprogs-$(VERSION) ARCHIVE=$(SOURCE).tar.xz +SHA512=53282e1c524f62a95012b1aceef296d494f5238c82c9b08b29fbe6a803dbf7ccfdcd9124eb2f11fe2ff9de26387c78751a92c3217ca414f6db6242098a72d3fa +include ../../download-files.include LIBDYLIB=$(PLATFORM)/lib/$(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 --prefix=$(PREFIX) --disable-fsck --enable-libuuid |