diff options
Diffstat (limited to 'packages/opie-irdaapplet')
-rw-r--r-- | packages/opie-irdaapplet/opie-irdaapplet_1.1.9.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/opie-irdaapplet/opie-irdaapplet_1.1.9.bb b/packages/opie-irdaapplet/opie-irdaapplet_1.1.9.bb index e69de29bb2..f2203063fb 100644 --- a/packages/opie-irdaapplet/opie-irdaapplet_1.1.9.bb +++ b/packages/opie-irdaapplet/opie-irdaapplet_1.1.9.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "IrDA Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" + +APPNAME = "irdaapplet" + + +SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/irdaapplet \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/sounds \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/apps" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if pidof -s qpe >/dev/null; then + /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" +fi + if [ -n "$D" ]; then false; fi +} + +pkg_postrm() { +#!/bin/sh +/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} + +# FILES plugins/applets/libirdaapplet.so* pics/irdaapplet/* sounds/irdaapplet/*.wav +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/sounds/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/sounds/${APPNAME}/*.wav ${D}${palmtopdir}/sounds/${APPNAME}/ +} + |