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/libbluray | |
parent | 51de0c6ca714396b98df466698f870c3afd77e04 (diff) |
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libbluray')
-rw-r--r-- | tools/depends/target/libbluray/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libbluray/Makefile b/tools/depends/target/libbluray/Makefile index d484d58977..c67e226848 100644 --- a/tools/depends/target/libbluray/Makefile +++ b/tools/depends/target/libbluray/Makefile @@ -1,11 +1,13 @@ include ../../Makefile.include -DEPS= ../../Makefile.include Makefile 001-darwinembed_DiskArbitration-revert.patch tvos.patch +DEPS = ../../Makefile.include Makefile 001-darwinembed_DiskArbitration-revert.patch tvos.patch ../../download-files.include # lib name, version LIBNAME=libbluray VERSION=1.3.0 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.bz2 +SHA512=3d5145e6fd7de099c07f937282112c7abb12a5590b7c0b965b00bddee3837ddfd1a30076aaa6d6278d07a5beee3856f602125983ae075ab30eceb6ac1bd9bcdc +include ../../download-files.include # configuration settings CONFIGURE=./configure --prefix=$(PREFIX) --disable-shared --exec-prefix=$(PREFIX) \ @@ -16,10 +18,8 @@ LIBDYLIB=$(PLATFORM)/.libs/libbluray.la 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); ./bootstrap |