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"
10 inherit qmake update-rc.d
12 SRC_URI = "file://sltime.sh"
14 INITSCRIPT_NAME = "sltime"
15 INITSCRIPT_PARAMS = "defaults 5"
17 export UTILS = "sltime slbl slfb"
23 cp -PfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/
27 do_configure_prepend() {
29 printf "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro
33 install -d ${D}${sbindir}
36 install -m 0755 ${S}/${u}/${u} ${D}${sbindir}/
38 install -d ${D}${sysconfdir}/init.d/
39 install -m 0755 ${WORKDIR}/sltime.sh ${D}${sysconfdir}/init.d/sltime
42 PACKAGES =+ "slbl slfb"
43 FILES_slbl = "${sbindir}/slbl"
44 FILES_slfb = "${sbindir}/slfb"