DESCRIPTION = "Driver for the SHARP CG-AG06 digital compact flash camera for linux ${PV}" SECTION = "kernel/modules" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "CLOSED" RDEPENDS = "kernel (2.4.18-rmk7-pxa3-embedix)" PR = "r3" SRC_URI = "http://www.openzaurus.org/mirror/camera-modules-2.4.18-rmk7-pxa3-embedix.tar.bz2 \ file://CE-AG06.dat \ file://sharpzdc \ file://sharpzdc.conf" S = "${WORKDIR}" do_install() { install -d ${D}/etc/pcmcia/cis install -d ${D}/lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia install -m 0644 ${WORKDIR}/CE-AG06.dat ${D}/etc/pcmcia/cis/ install -m 0644 ${WORKDIR}/sharpzdc.conf ${D}/etc/pcmcia/ install -m 0755 ${WORKDIR}/sharpzdc ${D}/etc/pcmcia/ install -m 0644 ${MACHINE}/sharpzdc_cs.o ${D}/lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/ } FILES_${PN} = "/" python () { mach = oe.data.getVar('MACHINE', d, 1) if mach: oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d) }