summaryrefslogtreecommitdiff
path: root/packages/qc-usb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-24 22:34:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-24 22:34:15 +0000
commita35f3ba7fbd5fe44358fc52c3c64ed9f0ecbfe15 (patch)
treec731f1fbeb0addb6746974a7ddcbc834cabbf842 /packages/qc-usb
parent930e9671d7e44d8263f490e96dc619eccd56a133 (diff)
Move qc-usb
Diffstat (limited to 'packages/qc-usb')
-rw-r--r--packages/qc-usb/qc-usb-messenger_0.8.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/qc-usb/qc-usb-messenger_0.8.bb b/packages/qc-usb/qc-usb-messenger_0.8.bb
new file mode 100644
index 0000000000..2720b3af59
--- /dev/null
+++ b/packages/qc-usb/qc-usb-messenger_0.8.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Driver for QuickCam Messenger and Communicate usb cameras"
+PRIORITY = "optional"
+SECTION = "kernel/modules"
+MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://home.mag.cx/messenger/source/${PN}-${PV}.tar.gz \
+ file://qc-messenger-0.8-fix;patch=1"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit module
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
+ oe_runmake 'KSRC=${STAGING_KERNEL_DIR}' \
+ 'KDIR=${STAGING_KERNEL_DIR}' \
+ 'CC="${KERNEL_CC}"' \
+ 'LD="${KERNEL_LD}"' \
+ 'LINUX_DIR=${STAGING_KERNEL_DIR}' \
+ all
+}
+
+do_install() {
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc
+ install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc
+}
+