summaryrefslogtreecommitdiff
path: root/packages/zaurusd/zaurusd_svn.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-06-06 00:40:41 +0000
committerMatthias Hentges <oe@hentges.net>2007-06-06 00:40:41 +0000
commit7351f1b47590c38ca8de2a3d4d80aadfb31eb43b (patch)
tree3a147421f7a34bfe88c9a188e4b28c6a19dd88a2 /packages/zaurusd/zaurusd_svn.bb
parent49540898f9f6457636a85a452a9cb1d7bc253c66 (diff)
zaurusd: Add the bl-on/off-via-hinge scripts to zaurusd as the bl packages has been assimilated by gpe-conf
Diffstat (limited to 'packages/zaurusd/zaurusd_svn.bb')
-rw-r--r--packages/zaurusd/zaurusd_svn.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/zaurusd/zaurusd_svn.bb b/packages/zaurusd/zaurusd_svn.bb
index 125cd3bd0b..0bc2424a69 100644
--- a/packages/zaurusd/zaurusd_svn.bb
+++ b/packages/zaurusd/zaurusd_svn.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
DEPENDS = "tslib"
RDEPENDS = "procps"
PV = "0.0+svn${SRCDATE}"
-PR = "r9"
+PR = "r10"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http \
file://zaurus-hinge.in \
@@ -13,7 +13,9 @@ SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http \
file://disable-alsa-handling.patch;patch=1 \
file://zaurus-hinge.matchbox-portrait \
file://zaurus-hinge.matchbox-landscape \
- file://zaurusd-mixer-callback.patch;patch=1"
+ file://zaurusd-mixer-callback.patch;patch=1 \
+ file://zaurus-hinge.bl-on \
+ file://zaurus-hinge.bl-off"
S = "${WORKDIR}/${PN}"
@@ -28,6 +30,12 @@ do_install_append() {
install -d "${D}/etc/zaurusd/hinge-landscape.d"
install -d "${D}/etc/zaurusd/hinge-portrait.d"
install -d "${D}/etc/zaurusd/hinge-close.d"
+ install -d ${D}/etc/apm/resume.d
+
+ install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/apm/resume.d/00-backlight-on"
+ install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/zaurusd/hinge-landscape.d/00-backlight-on"
+ install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/zaurusd/hinge-portrait.d/00-backlight-on"
+ install -m 0755 "${WORKDIR}/zaurus-hinge.bl-off" "${D}/etc/zaurusd/hinge-close.d/00-backlight-off"
install -m 0755 "${WORKDIR}/zaurus-hinge.matchbox-landscape" "${D}/etc/zaurusd/hinge-landscape.d/20-matchbox-landscape"
install -m 0755 "${WORKDIR}/zaurus-hinge.matchbox-portrait" "${D}/etc/zaurusd/hinge-portrait.d/20-matchbox-portrait"