diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-memoryapplet/opie-memoryapplet.inc | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-memoryapplet/opie-memoryapplet.inc')
-rw-r--r-- | packages/opie-memoryapplet/opie-memoryapplet.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/opie-memoryapplet/opie-memoryapplet.inc b/packages/opie-memoryapplet/opie-memoryapplet.inc index e69de29bb2..eb1e17919f 100644 --- a/packages/opie-memoryapplet/opie-memoryapplet.inc +++ b/packages/opie-memoryapplet/opie-memoryapplet.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Memory Applet. \ +This applet displays the amount of free memory and manages the swap partition" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "memoryapplet" + +S = "${WORKDIR}/memoryapplet" + +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/memory/ + install -m 0644 ${WORKDIR}/pics/memory/*.png ${D}${palmtopdir}/pics/memory/ + oe_libinstall -so libmemoryapplet ${D}${palmtopdir}/plugins/applets/ +} + |