DESCRIPTION = "Battery Monitor applet" SECTION = "opie/applets" PRIORITY = "optional" MAINTAINER = "Team Opie " LICENSE = "GPL" PV = "1.1.7+cvs-${CVSDATE}" APPNAME = "batteryapplet" SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/applets/batteryapplet \ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;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() { }