summaryrefslogtreecommitdiff
path: root/opie-networkapplet
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-14 18:06:30 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-14 18:06:30 +0000
commit881494f8297524add45d8878954b01638f674df2 (patch)
tree52e3a006c81623bc63f38e7d215c746395e44d62 /opie-networkapplet
parent35b9c4b80c901c34c85934a62512a52001dfdbec (diff)
add "" around the postinst tests
BKrev: 40f57626xDBxTYAUT5NxSHbSkQ_DtQ
Diffstat (limited to 'opie-networkapplet')
-rw-r--r--opie-networkapplet/opie-networkapplet_cvs.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/opie-networkapplet/opie-networkapplet_cvs.oe b/opie-networkapplet/opie-networkapplet_cvs.oe
index e69de29bb2..6368dd619c 100644
--- a/opie-networkapplet/opie-networkapplet_cvs.oe
+++ b/opie-networkapplet/opie-networkapplet_cvs.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "Network Applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Open Embedded <oe@handhelds.org>"
+LICENSE = "GPL"
+RDEPENDS = "opie-networksettings"
+PV = "1.1.4-cvs-${CVSDATE}"
+APPNAME = "networkapplet"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/applets/networkapplet;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics;date=${CVSDATE}"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+}
+
+# FILES plugins/applets/libnetworkapplet.so* pics/networkapplet
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+}