DESCRIPTION = "Driver for the SHARP Zaurus SD/MMC Slot for linux ${PV}" SECTION = "kernel/modules" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "CLOSED" RDEPENDS = "kernel (${KERNEL_VERSION})" PR = "r16" SRC_URI = "http://www.openzaurus.org/mirror/sd-modules-2.4.18-rmk7-pxa3-embedix-r3.tar.bz2 \ file://sd \ file://sdmgr \ file://sdcontrol" S = "${WORKDIR}" inherit module-base update-rc.d INITSCRIPT_NAME = "sd" INITSCRIPT_PARAMS = "start 39 S . stop 96 0 1 6 ." do_install() { install -d ${D}${sysconfdir}/init.d ${D}${base_sbindir} install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/block/ install -m 0755 ${WORKDIR}/sdmgr ${D}${base_sbindir}/ install -m 0755 ${WORKDIR}/sdcontrol ${D}${sysconfdir} install -m 0755 ${WORKDIR}/sd ${D}${sysconfdir}/init.d/ install -m 0644 ${MACHINE}/sharp_mmcsd_m.o ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/block/ } FILES_${PN} = "/" PACKAGE_ARCH = "${MACHINE_ARCH}"