aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libcdio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libcdio/Makefile')
-rw-r--r--tools/depends/target/libcdio/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libcdio/Makefile b/tools/depends/target/libcdio/Makefile
index 57da8e5d1d..a30712b841 100644
--- a/tools/depends/target/libcdio/Makefile
+++ b/tools/depends/target/libcdio/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile configure.patch cross.patch
+DEPS = ../../Makefile.include Makefile configure.patch cross.patch ../../download-files.include
# lib name, version
LIBNAME=libcdio
VERSION=0.80
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
+SHA512=4bc723fd882baac090f61576aa798a3045df7877c9482b81e0c78e25e29503774240b7c34d255150ca7557d9aa8d8b113ca6fd1c1dae1362e4c0f314d8f33a51
+include ../../download-files.include
# configuration settings
CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
./configure --prefix=$(PREFIX) --with-cd-drive=no --with-cd-info=no --with-cd-paranoia=no \
@@ -16,10 +18,8 @@ LIBDYLIB=$(PLATFORM)/lib/driver/.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); patch -p1 -i ../configure.patch