DESCRIPTION = "Console utilities for certain hardware aspects of Sharp Linux based Zaurii" SECTION = "console/utils" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "GPL" PR = "r3" inherit qmake update-rc.d SRC_URI = "file://sltime.sh" INITSCRIPT_NAME = "sltime" INITSCRIPT_PARAMS = "defaults 5" export UTILS = "sltime slbl" do_fetch() { for u in ${UTILS} do install -d ${S}/$u cp -dfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/ done } do_configure_prepend() { cd ${S}/ echo -e "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro } do_install() { install -d ${D}${sbindir} for u in ${UTILS} do install -m 0755 ${S}/${u}/${u} ${D}${sbindir}/ done install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/sltime.sh ${D}${sysconfdir}/init.d/sltime } PACKAGES =+ "slbl" FILES_slbl = "${sbindir}/slbl"