summaryrefslogtreecommitdiff
path: root/packages/opie-backgammon/opie-backgammon_1.1.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-backgammon/opie-backgammon_1.1.8.bb')
-rw-r--r--packages/opie-backgammon/opie-backgammon_1.1.8.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/opie-backgammon/opie-backgammon_1.1.8.bb b/packages/opie-backgammon/opie-backgammon_1.1.8.bb
index e69de29bb2..0577a9f6aa 100644
--- a/packages/opie-backgammon/opie-backgammon_1.1.8.bb
+++ b/packages/opie-backgammon/opie-backgammon_1.1.8.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Backgammon Game"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+APPNAME = "backgammon"
+APPTYPE = "binary"
+
+TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/games/backgammon \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+# FILES plugins/application/libbackgammon.so* bin/backgammon apps/Games/backgammon.desktop pics/backgammon help/en/html/backgammon.html
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+
+ for dir in boards dice odds pieces table
+ do
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/$dir
+ install -m 644 ${WORKDIR}/pics/${APPNAME}/$dir/*.png ${D}${palmtopdir}/pics/${APPNAME}/$dir
+ done
+
+}
+