diff options
Diffstat (limited to 'opie-batteryapplet/opie-batteryapplet_1.1.7.oe')
-rw-r--r-- | opie-batteryapplet/opie-batteryapplet_1.1.7.oe | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/opie-batteryapplet/opie-batteryapplet_1.1.7.oe b/opie-batteryapplet/opie-batteryapplet_1.1.7.oe index e69de29bb2..9c5bd06254 100644 --- a/opie-batteryapplet/opie-batteryapplet_1.1.7.oe +++ b/opie-batteryapplet/opie-batteryapplet_1.1.7.oe @@ -0,0 +1,37 @@ +DESCRIPTION = "Battery Monitor applet" +SECTION = "opie/applets" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" + +APPNAME = "batteryapplet" + +TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}" +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() { +} + |