summaryrefslogtreecommitdiff
path: root/shopper
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-25 16:46:31 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-25 16:46:31 +0000
commit87bed57be20416e3e5e6f4e14b1aa20807eb5f66 (patch)
tree62739804825509bf86048896e78e23ce32ba7e74 /shopper
parentb51cb1da4d02d62a51ae3379e722092123107430 (diff)
fix pkg_postinst not to run in offline-mode
BKrev: 408beb67f3zXa-Bpe4eKU60X9TLUfQ
Diffstat (limited to 'shopper')
-rw-r--r--shopper/shopper_1.2.1.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/shopper/shopper_1.2.1.oe b/shopper/shopper_1.2.1.oe
index e69de29bb2..3ef21adfc1 100644
--- a/shopper/shopper_1.2.1.oe
+++ b/shopper/shopper_1.2.1.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "Shopping list manager"
+SECTION = "Applications"
+PRIORITY = "optional"
+MAINTAINER = "David Greaves <arbor@users.sourceforge.net>"
+LICENSE = "GPL"
+DEPENDS = "virtual/libc"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/zaurus-shopper/Shopper-${PV}.tar.gz \
+ file://${FILESDIR}/gcc3.patch;patch=1"
+S = "${WORKDIR}/Shopper"
+
+inherit palmtop
+
+QMAKE_PROFILES = "Shopper.pro"
+
+pkg_preinst() {
+ cp /root/Applications/ShoppingListQt/shoppinglist.xml /root/Applications/ShoppingListQt/shoppinglist.xml.safe 2>/dev/null
+ true
+}
+
+pkg_postinst() {
+ /opt/QtPalmtop/bin/qcop QPE/System "linkChanged(QString)" 2>/dev/null
+ if [ -n $D ]; then false; fi
+}
+
+do_install() {
+ install -d ${D}/${palmtopdir}/bin \
+ ${D}/${palmtopdir}/apps/Applications \
+ ${D}/${palmtopdir}/pics \
+ ${D}/${palmtopdir}/help/html
+ install -m 0755 ${S}/Shopper ${D}/${palmtopdir}/bin/
+ install -m 0644 ${S}/Shopper.desktop ${D}/${palmtopdir}/apps/Applications/
+ install -m 0644 ${S}/Shopper.png ${D}/${palmtopdir}/pics/
+ install -m 0644 ${S}/Shopper.html ${D}/${palmtopdir}/help/html/
+# BAD BAD BAD: packages never install into home directories. ever. --CL
+# install -m 0644 ${S}/shoppinglist.xml ${D}/root/Applications/ShoppingListQt/shoppinglist.xml.new
+}