1 DESCRIPTION = "Console utilities for certain hardware aspects of Sharp Linux based Zaurii"
2 DESCRIPTION_slfb = "A command-line utility to turn on/off the FrameBuffer on Linux 2.4-based Zaurii"
3 DESCRIPTION_slbl = "A command-line utility to control the BackLight on Linux 2.4-based Zaurii"
4 DESCRIPTION_sltime = "A ustility to save and restore the time on Sharp Linux based Zaurii"
5 SECTION = "console/utils"
7 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
11 inherit qmake update-rc.d
13 SRC_URI = "file://sltime.sh"
15 INITSCRIPT_NAME = "sltime"
16 INITSCRIPT_PARAMS = "defaults 5"
18 export UTILS = "sltime slbl slfb"
24 cp -dfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/
28 do_configure_prepend() {
30 echo -e "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro
34 install -d ${D}${sbindir}
37 install -m 0755 ${S}/${u}/${u} ${D}${sbindir}/
39 install -d ${D}${sysconfdir}/init.d/
40 install -m 0755 ${WORKDIR}/sltime.sh ${D}${sysconfdir}/init.d/sltime
43 PACKAGES =+ "slbl slfb"
44 FILES_slbl = "${sbindir}/slbl"
45 FILES_slfb = "${sbindir}/slfb"