blob: a71078dd6706f0478cd6f1b8895bc03eb3f9c56e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
DESCRIPTION = "Lock Opie now Button to lock Opie (as configured in the Security settings) on demand."
SECTION = "opie/applets"
PRIORITY = "optional"
LICENSE = "GPL"
APPNAME = "lockapplet"
DEPENDS = "opie-security"
RDEPENDS = "opie-security"
S = "${WORKDIR}/lockapplet"
inherit opie
pkg_postinst() {
#!/bin/sh
if [ -n "$D" ]; then exit 1; fi
if pidof -s qpe >/dev/null; then
${bindir}/qcop QPE/TaskBar "reloadApplets()"
fi
}
pkg_postrm() {
#!/bin/sh
${bindir}/qcop QPE/TaskBar "reloadApplets()"
if [ -n "$D" ]; then false; fi
}
do_install() {
install -d ${D}${palmtopdir}/plugins/applets ${D}${palmtopdir}/pics/security/
oe_libinstall -so liblockapplet ${D}${palmtopdir}/plugins/applets/
}
|