blob: 480a3dbf913a82c08fee52051fa283f126529284 (
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
33
34
35
36
37
38
39
40
41
42
43
|
DESCRIPTION = "Alarm Clock Applet"
SECTION = "opie/applets"
PRIORITY = "optional"
LICENSE = "GPL"
AUTHOR = "Anton Maslovsky"
HOMEPAGE = "http://my-zaurus.narod.ru/"
RDEPENDS = "qpealarmclock"
RCONFLICTS = "opie-clockapplet"
RREPLACES = "opie-clockapplet"
FILE_PR = "r1"
APPNAME = "qpealarmclockapplet"
APPTYPE = "binary"
SRC_URI = "http://my-zaurus.narod.ru/downloads/clockapplet.tar.gz \
file://missing-files.tar.gz \
file://fix-compile.patch;patch=1 "
S = "${WORKDIR}/clockapplet"
inherit palmtop
pkg_postinst() {
#!/bin/sh
if [ -n "$D" ]; then exit 1; fi
if pidof -s qpe >/dev/null; then
/usr/bin/qcop QPE/TaskBar "reloadApplets()"
fi
}
pkg_postrm() {
#!/bin/sh
/usr/bin/qcop QPE/TaskBar "reloadApplets()"
if [ -n "$D" ]; then false; fi
}
do_install () {
# create dirs
install -d ${D}${palmtopdir}/plugins/applets
# libs
oe_libinstall -so libclockapplet ${D}${palmtopdir}/plugins/applets
}
|