From 20ed81ad19f90b75b2f8371d1e8dd333c420f61d Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Tue, 6 Jun 2006 07:17:31 +0000 Subject: zaurusd: Make zaurus-hinge easier to use by external programs --- packages/zaurusd/zaurusd_svn.bb | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'packages/zaurusd/zaurusd_svn.bb') 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 " 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" -- cgit v1.2.3