summaryrefslogtreecommitdiff
path: root/packages/opie-backgammon
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-27 19:40:08 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-27 19:40:08 +0000
commita95139783dc27e863dd588cb260c27415e43e1a9 (patch)
tree2d2fe56346ad5400786a1b8054738dfec7a899c7 /packages/opie-backgammon
parent4a2f49cab682cdc1fa6080495bec0165446f454e (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/27 19:08:24+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/27 20:08:50+01:00 handhelds.org!zecke Fix Compilation of libopie: Install private pim headers into staging include directory to allow compilation 2004/12/27 19:07:16+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/27 19:05:52+00:00 nexus.co.uk!pb minimo.png is also in ${WORKDIR}, not ${S} 2004/12/27 19:55:50+01:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2004/12/27 19:55:41+01:00 handhelds.org!CoreDump opie-backgammon: fix packaging of pics and binary 2004/12/27 18:53:14+00:00 nexus.co.uk!pb minimo.desktop is in ${WORKDIR}, not ${S} BKrev: 41d06518xh9jnVevYfiiB9bpSgdmDA
Diffstat (limited to 'packages/opie-backgammon')
-rw-r--r--packages/opie-backgammon/opie-backgammon_1.1.8.bb31
-rw-r--r--packages/opie-backgammon/opie-backgammon_cvs.bb7
2 files changed, 38 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
+
+}
+
diff --git a/packages/opie-backgammon/opie-backgammon_cvs.bb b/packages/opie-backgammon/opie-backgammon_cvs.bb
index 57af5b86f5..174a73aa59 100644
--- a/packages/opie-backgammon/opie-backgammon_cvs.bb
+++ b/packages/opie-backgammon/opie-backgammon_cvs.bb
@@ -5,6 +5,7 @@ MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
PV = "1.1.8+cvs-${CVSDATE}"
APPNAME = "backgammon"
+APPTYPE = "binary"
SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/games/backgammon \
${HANDHELDS_CVS};module=opie/pics \
@@ -18,5 +19,11 @@ 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
}