dvbapp : TranscodingSetup update
[vuplus_openembedded] / recipes / opie-memoryapplet / opie-memoryapplet.inc
1 DESCRIPTION = "Memory Applet. \
2 This applet displays the amount of free memory and manages the swap partition"
3 SECTION = "opie/applets"
4 PRIORITY = "optional"
5 LICENSE = "GPL"
6 APPNAME = "memoryapplet"
7
8 S = "${WORKDIR}/memoryapplet"
9
10 inherit opie
11
12 pkg_postinst() {
13 #!/bin/sh
14 if [ -n "$D" ]; then exit 1; fi
15 if pidof -s qpe >/dev/null; then
16   ${bindir}/qcop QPE/TaskBar "reloadApplets()"
17 fi
18 }
19
20 pkg_postrm() {
21 #!/bin/sh
22 ${bindir}/qcop QPE/TaskBar "reloadApplets()"
23  if [ -n "$D" ]; then false; fi
24 }
25
26 do_install() {
27     install -d ${D}${palmtopdir}/plugins/applets ${D}${palmtopdir}/pics/memory/
28     install -m 0644 ${WORKDIR}/pics/memory/*.png ${D}${palmtopdir}/pics/memory/
29     oe_libinstall -so libmemoryapplet ${D}${palmtopdir}/plugins/applets/
30 }
31