aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libshairplay
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2022-01-22 09:25:35 +0100
committerwsnipex <wsnipex@a1.net>2022-02-07 06:24:58 +0100
commitc70f7b16e27347df41f4ca1dfeb144a290d4dd26 (patch)
treeaa53286c9631a4020b829010e9b706fbd3d35558 /tools/depends/target/libshairplay
parent51de0c6ca714396b98df466698f870c3afd77e04 (diff)
[depends] add tarball hash checking
Diffstat (limited to 'tools/depends/target/libshairplay')
-rw-r--r--tools/depends/target/libshairplay/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libshairplay/Makefile b/tools/depends/target/libshairplay/Makefile
index 8cf7a3ed10..686134b66c 100644
--- a/tools/depends/target/libshairplay/Makefile
+++ b/tools/depends/target/libshairplay/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile 0001-configure-fix-dns-sd-check.patch
+DEPS = ../../Makefile.include Makefile 0001-configure-fix-dns-sd-check.patch ../../download-files.include
# lib name, version
LIBNAME=shairplay
VERSION=096b61a
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
+SHA512=592a001954fd3ca86a81a907fef3892ebb53f4b91e937a049ec048e3473919f1c6e00fdf4a755d187c0b07afb0062e3613587f95817ec0786eeac5c18848ae1f
+include ../../download-files.include
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX)
@@ -15,10 +17,8 @@ LIBDYLIB=$(PLATFORM)/src/lib/.libs/libshairplay.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); patch -p1 -i ../0001-configure-fix-dns-sd-check.patch