summaryrefslogtreecommitdiff
path: root/packages/slutils
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-03 18:40:08 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-03 18:40:08 +0000
commit27e742bf4404d88757a9ad47a1463eae7a0a5768 (patch)
tree14340fa05ce77c69a015fcdf7878e35fb21c971e /packages/slutils
parentee6aeeb7e2472a3d156951f482594a3def304cbb (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/03 18:41:48+01:00 uni-frankfurt.de!mickeyl add backlight console utility to slutils BKrev: 41d991882gyEH5BTvSW5f2aCFinyGg
Diffstat (limited to 'packages/slutils')
-rw-r--r--packages/slutils/slutils-0.1.0/slbl/slbl.c0
-rw-r--r--packages/slutils/slutils-0.1.0/slbl/slbl.pro0
-rw-r--r--packages/slutils/slutils_0.1.0.bb38
3 files changed, 38 insertions, 0 deletions
diff --git a/packages/slutils/slutils-0.1.0/slbl/slbl.c b/packages/slutils/slutils-0.1.0/slbl/slbl.c
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/slutils/slutils-0.1.0/slbl/slbl.c
diff --git a/packages/slutils/slutils-0.1.0/slbl/slbl.pro b/packages/slutils/slutils-0.1.0/slbl/slbl.pro
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/slutils/slutils-0.1.0/slbl/slbl.pro
diff --git a/packages/slutils/slutils_0.1.0.bb b/packages/slutils/slutils_0.1.0.bb
index e69de29bb2..f33c642e35 100644
--- a/packages/slutils/slutils_0.1.0.bb
+++ b/packages/slutils/slutils_0.1.0.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "Console utilities for certain hardware aspects of Sharp Linux based Zaurii"
+SECTION = "console/utils"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PR = "r2"
+
+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
+}