diff options
author | Matthias Hentges <oe@hentges.net> | 2007-06-06 00:40:41 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-06-06 00:40:41 +0000 |
commit | 7351f1b47590c38ca8de2a3d4d80aadfb31eb43b (patch) | |
tree | 3a147421f7a34bfe88c9a188e4b28c6a19dd88a2 /packages/zaurusd | |
parent | 49540898f9f6457636a85a452a9cb1d7bc253c66 (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')
-rw-r--r-- | packages/zaurusd/files/zaurus-hinge.bl-off | 10 | ||||
-rw-r--r-- | packages/zaurusd/files/zaurus-hinge.bl-on | 10 | ||||
-rw-r--r-- | packages/zaurusd/zaurusd_svn.bb | 12 |
3 files changed, 30 insertions, 2 deletions
diff --git a/packages/zaurusd/files/zaurus-hinge.bl-off b/packages/zaurusd/files/zaurus-hinge.bl-off new file mode 100644 index 0000000000..888f90bfc5 --- /dev/null +++ b/packages/zaurusd/files/zaurus-hinge.bl-off @@ -0,0 +1,10 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2006 +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) +# +# Filename: zaurus-hinge.bl-off +# Date: 04-Jun-06 + +test -z "${ZD_BINDIR}" && ZD_BINDIR="/usr/bin" +${ZD_BINDIR}/bl off diff --git a/packages/zaurusd/files/zaurus-hinge.bl-on b/packages/zaurusd/files/zaurus-hinge.bl-on new file mode 100644 index 0000000000..6d416ad8c4 --- /dev/null +++ b/packages/zaurusd/files/zaurus-hinge.bl-on @@ -0,0 +1,10 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2006 +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) +# +# Filename: zaurus-hinge.bl-on +# Date: 04-Jun-06 + +test -z "${ZD_BINDIR}" && ZD_BINDIR="/usr/bin" +${ZD_BINDIR}/bl on 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" |