summaryrefslogtreecommitdiff
path: root/shopper/shopper_1.2.0.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-31 09:12:52 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-31 09:12:52 +0000
commit2f73eb825fdb331c3e9aa5a8b500be1beca6bbed (patch)
treef2dffe0337e3c1b9183a239e5aec038fa6849dda /shopper/shopper_1.2.0.oe
parent7444b6120542910bb80aa23d5711083b90a544a9 (diff)
fix do_install. thanks jose.
BKrev: 406a8b942r6aXKm5tXarHM6sBSm6Kg
Diffstat (limited to 'shopper/shopper_1.2.0.oe')
-rw-r--r--shopper/shopper_1.2.0.oe35
1 files changed, 35 insertions, 0 deletions
diff --git a/shopper/shopper_1.2.0.oe b/shopper/shopper_1.2.0.oe
index e69de29bb2..4dabc4c5c0 100644
--- a/shopper/shopper_1.2.0.oe
+++ b/shopper/shopper_1.2.0.oe
@@ -0,0 +1,35 @@
+DESCRIPTION = "Shopping list manager"
+SECTION = "Applications"
+PRIORITY = "optional"
+MAINTAINER = "David Greaves <arbor@users.sourceforge.net>"
+LICENSE = "GPL"
+RDEPENDS = "libqpe1"
+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
+ true
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/{help/html/,bin,apps/Applications,pics}
+ install -d ${D}/root/Applications/ShoppingListQt/
+ 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/
+ install -m 0644 ${S}/shoppinglist.xml ${D}/root/Applications/ShoppingListQt/shoppinglist.xml.new
+}