summaryrefslogtreecommitdiff
path: root/packages/opie-backgammon/opie-backgammon.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-backgammon/opie-backgammon.inc')
-rw-r--r--packages/opie-backgammon/opie-backgammon.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/opie-backgammon/opie-backgammon.inc b/packages/opie-backgammon/opie-backgammon.inc
index e69de29bb2..3fe004c70c 100644
--- a/packages/opie-backgammon/opie-backgammon.inc
+++ b/packages/opie-backgammon/opie-backgammon.inc
@@ -0,0 +1,23 @@
+DESCRIPTION = "Backgammon Game"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "backgammon"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+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
+}
+