summaryrefslogtreecommitdiff
path: root/opie-lockapplet/opie-lockapplet_cvs.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-11-20 15:03:00 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-11-20 15:03:00 +0000
commita74a35662a511452eb4b04f2cc5f2987d4081127 (patch)
tree57cd1d6d3f87577bbd4f81b53ed7e4fd35609871 /opie-lockapplet/opie-lockapplet_cvs.oe
parenta381f91bb861fb4daff00d1919dca64ca973d73d (diff)
bump version of opie_cvs things to 1.1.7+cvs
BKrev: 419f5ca4Wp3JBzSEv21ONTd46Sr4nA
Diffstat (limited to 'opie-lockapplet/opie-lockapplet_cvs.oe')
-rw-r--r--opie-lockapplet/opie-lockapplet_cvs.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/opie-lockapplet/opie-lockapplet_cvs.oe b/opie-lockapplet/opie-lockapplet_cvs.oe
index e69de29bb2..9129963902 100644
--- a/opie-lockapplet/opie-lockapplet_cvs.oe
+++ b/opie-lockapplet/opie-lockapplet_cvs.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "Lock Opie now Button to lock Opie (as configured in the Security settings) on demand."
+SECTION = "opie/applets"
+PRIORITY = "optional"
+LICENSE = "GPL"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+PV = "1.1.7+cvs-${CVSDATE}"
+APPNAME = "lockapplet"
+DEPENDS = "opie-security"
+RDEPENDS = "opie-security"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/applets/lockapplet \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics "
+
+S = "${WORKDIR}/lockapplet"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+fi
+ if [ -n "$D" ]; then false; fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+do_install() {
+ install -d ${D}/${palmtopdir}/plugins/applets ${D}/${palmtopdir}/pics/security/
+ install -m 0644 ${WORKDIR}/pics/security/lock.png ${D}/${palmtopdir}/pics/security/
+ oe_libinstall -so liblockapplet ${D}/${palmtopdir}/plugins/applets/
+}
+