dvb/linuxtv-dvb/debian/dvb-driver.debian rules
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Fri, 18 Jun 2004 19:49:10 +0000
Update of /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian
In directory haydn:/tmp/cvs-serv20056/dvb/linuxtv-dvb/debian/dvb-driver.debian
Modified Files:
rules
Log Message:
updated fw-download-script
Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian/rules,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- rules 18 Jun 2004 19:28:42 -0000 1.13
+++ rules 18 Jun 2004 19:49:08 -0000 1.14
@@ -39,9 +39,10 @@
s!\$$DEBDATE!$(shell date +"%a, %d %b %Y %H:%M:%S %z")!
# Variables for the firmware-download
-DOWNLOAD_DIR = $(CURDIR)/build-2.4
-BASEURL = http://www.linuxtv.org/download/dvb/firmware
-FILENAME = dvb-ttpci-01.fw-261c
+DOWNLOAD_DIR = $(CURDIR)/build-2.4
+BASEURL = http://www.linuxtv.org/download/dvb/firmware
+FILENAME = dvb-ttpci-01.fw-261c
+LOCALFILENAME = dvb-ttpci-01.fw
debian/control: debian/control.in
sed -e "$(SED_SCRIPT)" debian/control.in > $@
@@ -58,10 +59,10 @@
# Downloading of the dvb-ttpci-firmware, as it is not included in the
# upstream-source-package, but it is needed at compile-time to compile
- # drivers for kernel 2.4
- if [ ! -f $(DOWNLOAD_DIR)/$(FILENAME) ]; then \
+ # the dvb-ttpci driver for kernel 2.4
+ if [ ! -f $(DOWNLOAD_DIR)/$(LOCALFILENAME) ]; then \
echo "Firmware for dvb-ttpci-cards needs to be downloaded."; \
- if ! `wget --passive-ftp -P $(DOWNLOAD_DIR) $(BASEURL)/$(FILENAME) -O dvb-ttpci-01.fw`; then \
+ if ! `wget --passive-ftp $(BASEURL)/$(FILENAME) -O $(DOWNLOAD_DIR)/$(LOCALFILENAME)`; then \
echo "$(BASEURL)/$(FILENAME) not on web server."; \
exit 1; \
fi; \