summaryrefslogtreecommitdiff
path: root/opie-batteryapplet/opie-batteryapplet_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'opie-batteryapplet/opie-batteryapplet_cvs.oe')
-rw-r--r--opie-batteryapplet/opie-batteryapplet_cvs.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/opie-batteryapplet/opie-batteryapplet_cvs.oe b/opie-batteryapplet/opie-batteryapplet_cvs.oe
index e69de29bb2..c75cfb76d2 100644
--- a/opie-batteryapplet/opie-batteryapplet_cvs.oe
+++ b/opie-batteryapplet/opie-batteryapplet_cvs.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "Battery Monitor applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Open Embedded <oe@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "libopiecore2"
+PV = "1.1.3-cvs-${CVSDATE}"
+APPNAME = "batteryapplet"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/applets/batteryapplet;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps;date=${CVSDATE}"
+
+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() {
+}
+