summaryrefslogtreecommitdiff
path: root/module-usb-quickcam
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2006-12-04 18:41:30 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2006-12-04 18:41:30 +1100
commit02f8208e8228db99a0a025c351ad60535432ae4c (patch)
tree756702927da31200ea8765637103ec3aa1fc18dd /module-usb-quickcam
parent055bd8e11b8b8edb28ecfe2e461b67c655b9ad75 (diff)
downloadcontrib-02f8208e8228db99a0a025c351ad60535432ae4c.tar.gz
contrib-02f8208e8228db99a0a025c351ad60535432ae4c.tar.xz
module-usb-quickcam: initial commit
Diffstat (limited to 'module-usb-quickcam')
-rw-r--r--module-usb-quickcam/.footprint24
-rw-r--r--module-usb-quickcam/.md5sum1
-rw-r--r--module-usb-quickcam/Pkgfile39
-rw-r--r--module-usb-quickcam/README28
4 files changed, 92 insertions, 0 deletions
diff --git a/module-usb-quickcam/.footprint b/module-usb-quickcam/.footprint
new file mode 100644
index 000000000..4ad4c1329
--- /dev/null
+++ b/module-usb-quickcam/.footprint
@@ -0,0 +1,24 @@
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/misc/
+-rw-r--r-- root/root lib/modules/<kernel-version>/misc/quickcam.ko
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/qcset
+drwxr-xr-x root/root usr/src/
+drwxr-xr-x root/root usr/src/linux-2.6.17/
+drwxr-xr-x root/root usr/src/linux-2.6.17/drivers/
+drwxr-xr-x root/root usr/src/linux-2.6.17/drivers/usb/
+drwxr-xr-x root/root usr/src/linux-2.6.17/drivers/usb/misc/
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-driver.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-formats.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-hdcs.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-memory.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-memory.h
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-mjpeg.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-pb0100.c
+-rw-r--r-- root/root usr/src/linux-2.6.17/drivers/usb/misc/qc-vv6410.c
+drwxr-xr-x root/root usr/src/linux-2.6.17/include/
+drwxr-xr-x root/root usr/src/linux-2.6.17/include/linux/
+-rw-r--r-- root/root usr/src/linux-2.6.17/include/linux/quickcam.h
diff --git a/module-usb-quickcam/.md5sum b/module-usb-quickcam/.md5sum
new file mode 100644
index 000000000..bb2792256
--- /dev/null
+++ b/module-usb-quickcam/.md5sum
@@ -0,0 +1 @@
+7e91c3a633382c99100e3ef4f1d9f50a qc-usb-0.6.4.tar.gz
diff --git a/module-usb-quickcam/Pkgfile b/module-usb-quickcam/Pkgfile
new file mode 100644
index 000000000..90ef73930
--- /dev/null
+++ b/module-usb-quickcam/Pkgfile
@@ -0,0 +1,39 @@
+# Description: Driver for the QuickCam Express and other QuickCam-related and QuickCam-compatible USB web cameras.
+# URL: http://qce-ga.sourceforge.net/
+# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
+# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
+# Depends on:
+
+name=module-usb-quickcam
+version=0.6.4
+release=1
+source=(http://dl.sourceforge.net/sourceforge/qce-ga/qc-usb-$version.tar.gz)
+
+build() {
+ cd qc-usb-$version
+ make all
+
+ export PORT_KERNEL_VERSION=$(uname -r)
+
+ install -c -D -m644 quickcam.ko $PKG/lib/modules/$PORT_KERNEL_VERSION/misc/quickcam.ko
+ install -c -D -m755 qcset $PKG/usr/bin/qcset
+
+ # This refuses to install to the PKG dir, so its done manually.
+ #make DESTDIR=$PKG install
+
+ install -c -D -m644 quickcam.h $PKG/usr/src/linux-$PORT_KERNEL_VERSION/include/linux/quickcam.h
+
+ # This dosn't work, so I've manually installed the files.
+ #make DESTDIR=$PKG kernel-files
+
+ export PORT_PKG_LIST="qc-driver.c qc-formats.c qc-mjpeg.c qc-memory.c qc-memory.h qc-vv6410.c qc-hdcs.c qc-pb0100.c"
+
+ for i in $PORT_PKG_LIST; do
+ install -c -D -m644 $i $PKG/usr/src/linux-$PORT_KERNEL_VERSION/drivers/usb/misc/$i
+ done
+
+ # Clean up vars.
+ unset PORT_KERNEL_VERSION
+ unset PORT_PKG_LIST
+}
+
diff --git a/module-usb-quickcam/README b/module-usb-quickcam/README
new file mode 100644
index 000000000..66b03482b
--- /dev/null
+++ b/module-usb-quickcam/README
@@ -0,0 +1,28 @@
+REQUIREMENTS:
+
+PRECAUTION:
+
+ Remove this port before upgrading the kernel then do a force rebuild then
+ install, after you have rebooted into the new kernel.
+
+PRE-INSTALL:
+
+ USB and Video4Linux must be in the kernel, and modprobed if built as modules,
+ also the kernel source must be present in:
+ "/usr/src/linux-VERSION" VERSION being what "uname -r" returns.
+
+POST-INSTALL:
+
+ Add "/sbin/modprobe quickcam" to /etc/rc.modules
+
+PRE-REMOVE:
+
+POST-REMOVE:
+
+NOTES:
+
+I find setting MODPROBE=/sbin/modprobe easier, then use:
+
+$MODPROBE quickcam
+
+This does not compile on kernel 2.6.18 or above.

Generated by cgit