netbase: fix non working wpa_supplicant detection in network restarts. Push PR.
[openembedded.git] / recipes / opie-irdaapplet / opie-irdaapplet.inc
1 DESCRIPTION = "IrDA Applet"
2 SECTION = "opie/applets"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 APPNAME = "irdaapplet"
6
7
8 S = "${WORKDIR}/${APPNAME}"
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 # FILES plugins/applets/libirdaapplet.so* pics/irdaapplet/* sounds/irdaapplet/*.wav
27 do_install() {
28         install -d ${D}${palmtopdir}/pics/${APPNAME}/
29         install -d ${D}${palmtopdir}/sounds/${APPNAME}/
30         install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
31         install -m 0644 ${WORKDIR}/sounds/${APPNAME}/*.wav ${D}${palmtopdir}/sounds/${APPNAME}/
32 }
33