depends: qt/cctools: fix checksum checksum tests

Checksums were being verified after download, but not again before extraction

Zcash: Only cctools changes
This commit is contained in:
Cory Fields 2016-04-04 18:20:20 -04:00 committed by Jack Grigg
parent be43fb5e98
commit 4d59b8bdd1
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ $(call fetch_file,$(package),$($(package)_clang_download_path),$($(package)_clan
endef
define $(package)_extract_cmds
mkdir -p $($(package)_extract_dir) && \
echo "$($(package)_sha256_hash) $($(package)_source)" > $($(package)_extract_dir)/.$($(package)_file_name).hash && \
echo "$($(package)_clang_sha256_hash) $($(package)_source_dir)/$($(package)_clang_file_name)" >> $($(package)_extract_dir)/.$($(package)_file_name).hash && \
$(build_SHA256SUM) -c $($(package)_extract_dir)/.$($(package)_file_name).hash && \
mkdir -p toolchain/bin toolchain/lib/clang/3.5/include && \
tar --strip-components=1 -C toolchain -xf $($(package)_source_dir)/$($(package)_clang_file_name) && \
echo "#!/bin/sh" > toolchain/bin/$(host)-dsymutil && \