summaryrefslogtreecommitdiff
path: root/packages/opie-wirelessapplet
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-wirelessapplet')
-rw-r--r--packages/opie-wirelessapplet/opie-wirelessapplet_1.1.8.bb31
-rw-r--r--packages/opie-wirelessapplet/opie-wirelessapplet_cvs.bb2
2 files changed, 33 insertions, 0 deletions
diff --git a/packages/opie-wirelessapplet/opie-wirelessapplet_1.1.8.bb b/packages/opie-wirelessapplet/opie-wirelessapplet_1.1.8.bb
index e69de29bb2..353bba3a6a 100644
--- a/packages/opie-wirelessapplet/opie-wirelessapplet_1.1.8.bb
+++ b/packages/opie-wirelessapplet/opie-wirelessapplet_1.1.8.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Wireless Applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "wirelessapplet"
+
+EXCLUDE_FROM_WORLD = "1"
+
+TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/applets/wirelessapplet"
+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()"
+}
+
diff --git a/packages/opie-wirelessapplet/opie-wirelessapplet_cvs.bb b/packages/opie-wirelessapplet/opie-wirelessapplet_cvs.bb
index 9cee470242..53eddecd9a 100644
--- a/packages/opie-wirelessapplet/opie-wirelessapplet_cvs.bb
+++ b/packages/opie-wirelessapplet/opie-wirelessapplet_cvs.bb
@@ -6,6 +6,8 @@ LICENSE = "GPL"
PV = "1.1.8+cvs-${CVSDATE}"
APPNAME = "wirelessapplet"
+EXCLUDE_FROM_WORLD = "1"
+
SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/applets/wirelessapplet"
S = "${WORKDIR}/${APPNAME}"