summaryrefslogtreecommitdiff
path: root/packages/opie-batteryapplet
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-batteryapplet')
-rw-r--r--packages/opie-batteryapplet/opie-batteryapplet_1.1.9.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/opie-batteryapplet/opie-batteryapplet_1.1.9.bb b/packages/opie-batteryapplet/opie-batteryapplet_1.1.9.bb
index e69de29bb2..5a24597c47 100644
--- a/packages/opie-batteryapplet/opie-batteryapplet_1.1.9.bb
+++ b/packages/opie-batteryapplet/opie-batteryapplet_1.1.9.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Battery Monitor applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+APPNAME = "batteryapplet"
+
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/batteryapplet \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
+ if [ -n "$D" ]; then false; fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+# FILES plugins/applets/libbatteryapplet.so*
+do_install() {
+}
+