summaryrefslogtreecommitdiff
path: root/packages/qc-usb/qc-usb-messenger_0.8.bb
blob: 0f5279311b5fb7f5e5bc499cc96670f2f73fe294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 = "r2"

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
}