diff options
Diffstat (limited to 'recipes/opie-pcmciaapplet/opie-pcmciaapplet.inc')
-rw-r--r-- | recipes/opie-pcmciaapplet/opie-pcmciaapplet.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/opie-pcmciaapplet/opie-pcmciaapplet.inc b/recipes/opie-pcmciaapplet/opie-pcmciaapplet.inc new file mode 100644 index 0000000000..6ed1908029 --- /dev/null +++ b/recipes/opie-pcmciaapplet/opie-pcmciaapplet.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "PCMCIA/CF Manager Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "pcmciaapplet" + +S = "${WORKDIR}/pcmcia" + +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()" +else + exit 0 +fi +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadApplets()" +} + +do_install() { + install -d ${D}${palmtopdir}/pics/pcmcia/ +# install -m 0644 ${WORKDIR}/pics/pcmcia/*.png ${D}${palmtopdir}/pics/pcmcia/ +} |