summaryrefslogtreecommitdiff
path: root/opie-kpacman/opie-kpacman_cvs.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-14 18:06:30 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-14 18:06:30 +0000
commit881494f8297524add45d8878954b01638f674df2 (patch)
tree52e3a006c81623bc63f38e7d215c746395e44d62 /opie-kpacman/opie-kpacman_cvs.oe
parent35b9c4b80c901c34c85934a62512a52001dfdbec (diff)
add "" around the postinst tests
BKrev: 40f57626xDBxTYAUT5NxSHbSkQ_DtQ
Diffstat (limited to 'opie-kpacman/opie-kpacman_cvs.oe')
-rw-r--r--opie-kpacman/opie-kpacman_cvs.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/opie-kpacman/opie-kpacman_cvs.oe b/opie-kpacman/opie-kpacman_cvs.oe
index e69de29bb2..8978f5ad55 100644
--- a/opie-kpacman/opie-kpacman_cvs.oe
+++ b/opie-kpacman/opie-kpacman_cvs.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "Kpacman, the classical arcade game of Pacman"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Open Embedded <oe@handhelds.org>"
+LICENSE = "GPL"
+PV = "1.1.4-cvs-${CVSDATE}"
+APPNAME = "kpacman"
+APPTYPE = "binary"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/games/kpacman;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/share;date=${CVSDATE} \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps;date=${CVSDATE}"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+
+if [ ! -f $HOME/Settings/kpacman.conf ]
+ exit 0
+then
+ cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/
+fi
+}
+
+# FILES bin/kpacman apps/Games/kpacman.desktop pics/kpacman/kpacman.png share/kpacman
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}${palmtopdir}/share/${APPNAME}/
+ install -m 0644 ${WORKDIR}/share/${APPNAME}/*.conf ${D}${palmtopdir}/share/${APPNAME}/
+}
+