summaryrefslogtreecommitdiff
path: root/packages/gspcav1/gspcav1_20070110.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-17 17:57:46 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-17 17:57:46 +0000
commit6142c77d5d691a59157f12d71bcb4f5c9e8837fd (patch)
treec6ca12b6f28200fdb87d17d0394369ebb5966871 /packages/gspcav1/gspcav1_20070110.bb
parent09bb585ba70bc7c651d62c9aa9ac0e57595df31c (diff)
parenta828847f3281b8c4254cf89a551c9dcf3e0e4787 (diff)
merge of '13300dbb95259891ffdb187402ac66a12e7f43c7'
and 'c18417178fcb2dac2e3931442dc1d0cf1ba2e5c8'
Diffstat (limited to 'packages/gspcav1/gspcav1_20070110.bb')
-rw-r--r--packages/gspcav1/gspcav1_20070110.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/gspcav1/gspcav1_20070110.bb b/packages/gspcav1/gspcav1_20070110.bb
new file mode 100644
index 0000000000..86cb1010df
--- /dev/null
+++ b/packages/gspcav1/gspcav1_20070110.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "USB Webcam driver for spca5xx chipset family supporting \
+over 100 models of camera"
+PRIORITY = "optional"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+
+SRC_URI = "http://mxhaard.free.fr/spca50x/Download/${PN}-${PV}.tar.gz \
+ file://Makefile.patch;patch=1 \
+ file://MS.patch;patch=1"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit module
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake 'KERNELDIR=${STAGING_KERNEL_DIR}' \
+ 'CC=${KERNEL_CC}' \
+ 'LD=${KERNEL_LD}'
+}
+
+do_install() {
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
+ install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
+}