diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/slutils/slutils_0.1.0.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
download | openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/slutils/slutils_0.1.0.bb')
-rw-r--r-- | recipes/slutils/slutils_0.1.0.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/slutils/slutils_0.1.0.bb b/recipes/slutils/slutils_0.1.0.bb new file mode 100644 index 0000000000..8b7d6f6ce9 --- /dev/null +++ b/recipes/slutils/slutils_0.1.0.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "Console utilities for certain hardware aspects of Sharp Linux based Zaurii" +DESCRIPTION_slfb = "A command-line utility to turn on/off the FrameBuffer on Linux 2.4-based Zaurii" +DESCRIPTION_slbl = "A command-line utility to control the BackLight on Linux 2.4-based Zaurii" +DESCRIPTION_sltime = "A ustility to save and restore the time on Sharp Linux based Zaurii" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r4" + +inherit qmake update-rc.d + +SRC_URI = "file://sltime.sh" + +INITSCRIPT_NAME = "sltime" +INITSCRIPT_PARAMS = "defaults 5" + +export UTILS = "sltime slbl slfb" + +do_fetch() { + for u in ${UTILS} + do + install -d ${S}/$u + cp -PfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/ + done +} + +do_configure_prepend() { + cd ${S}/ + printf "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 slfb" +FILES_slbl = "${sbindir}/slbl" +FILES_slfb = "${sbindir}/slfb" + |