summaryrefslogtreecommitdiff
path: root/packages/zaurusd/zaurusd_svn.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-06-06 07:17:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-06 07:17:31 +0000
commit20ed81ad19f90b75b2f8371d1e8dd333c420f61d (patch)
tree0ce2d6787ff0f95dbc8008c9c3a2ec60de6f5c7a /packages/zaurusd/zaurusd_svn.bb
parent9173bc6eb7cf9ddb1231b770106418fa06bea799 (diff)
zaurusd: Make zaurus-hinge easier to use by external programs
Diffstat (limited to 'packages/zaurusd/zaurusd_svn.bb')
-rw-r--r--packages/zaurusd/zaurusd_svn.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/packages/zaurusd/zaurusd_svn.bb b/packages/zaurusd/zaurusd_svn.bb
index 89291c4101..420521359a 100644
--- a/packages/zaurusd/zaurusd_svn.bb
+++ b/packages/zaurusd/zaurusd_svn.bb
@@ -4,11 +4,14 @@ MAINTAINER = "Richard Purdie <rpurdie@openedhand.com>"
LICENSE = "GPL"
DEPENDS = "tslib"
PV = "0.0+svn${SRCDATE}"
-PR = "r5"
+PR = "r6"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http \
file://zaurus-hinge.in \
- file://add-poodle.patch;patch=1"
+ file://add-poodle.patch;patch=1 \
+ file://zaurus-hinge.matchbox-portrait \
+ file://zaurus-hinge.matchbox-landscape"
+
S = "${WORKDIR}/${PN}"
@@ -18,6 +21,15 @@ do_configure_prepend () {
cp ${WORKDIR}/zaurus-hinge.in ${S}/scripts
}
+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 -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"
+}
+
inherit autotools pkgconfig update-rc.d
INITSCRIPT_NAME = "zaurusd"