linux-2.6.29: update cm-x270 kernel to 2.6.29
[openembedded.git] / recipes / opie-lockapplet / opie-lockapplet.inc
bloba71078dd6706f0478cd6f1b8895bc03eb3f9c56e
1 DESCRIPTION = "Lock Opie now Button to lock Opie (as configured in the Security settings) on demand."
2 SECTION = "opie/applets"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 APPNAME = "lockapplet"
6 DEPENDS = "opie-security"
7 RDEPENDS = "opie-security"
10 S = "${WORKDIR}/lockapplet"
12 inherit opie
14 pkg_postinst() {
15 #!/bin/sh
16 if [ -n "$D" ]; then exit 1; fi
17 if pidof -s qpe >/dev/null; then
18   ${bindir}/qcop QPE/TaskBar "reloadApplets()"
22 pkg_postrm() {
23 #!/bin/sh
24 ${bindir}/qcop QPE/TaskBar "reloadApplets()"
25  if [ -n "$D" ]; then false; fi
28 do_install() {
29     install -d ${D}${palmtopdir}/plugins/applets ${D}${palmtopdir}/pics/security/
30     oe_libinstall -so liblockapplet ${D}${palmtopdir}/plugins/applets/