aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libdvdread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libdvdread/Makefile')
-rw-r--r--tools/depends/target/libdvdread/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/depends/target/libdvdread/Makefile b/tools/depends/target/libdvdread/Makefile
index 37b1137789..0be5f2d6f4 100644
--- a/tools/depends/target/libdvdread/Makefile
+++ b/tools/depends/target/libdvdread/Makefile
@@ -1,6 +1,6 @@
-include ../../Makefile.include
include LIBDVDREAD-VERSION
-DEPS = LIBDVDREAD-VERSION Makefile
+DEPS = LIBDVDREAD-VERSION Makefile ../../download-files.include
# configuration settings
config = --prefix=$(PREFIX) --disable-shared --enable-static --with-pic --with-libdvdcss
@@ -31,6 +31,7 @@ endif
RETRIEVE_TOOL := curl -Ls --create-dirs --retry 10 --retry-delay 3
ARCHIVE_TOOL := tar --strip-components=1 -xf
+include ../../download-files.include
all: .installed-$(PLATFORM)
download: $(TARBALLS_LOCATION)/$(ARCHIVE)
@@ -38,7 +39,7 @@ download: $(TARBALLS_LOCATION)/$(ARCHIVE)
$(TARBALLS_LOCATION)/$(ARCHIVE):
cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
+$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(AUTORECONF) -vif && $(PKGCONFIGPATH) CFLAGS="$(CFLAGS) $(EXTRA_CFLAGS)" ac_cv_path_GIT= ./configure $(config)