summaryrefslogtreecommitdiffstats
path: root/recipes/openttd/openttd-gfx_0.1.1.bb
diff options
context:
space:
mode:
authorThomas Zimmermann <ml@vdm-design.de>2009-11-27 09:40:58 +0000
committerKlaus Kurzmann <mok@fluxnetz.de>2009-11-27 11:44:46 +0100
commit6372f6f812ce52e7e5495949894b09ef80055ed6 (patch)
tree396cd6f6d2b17db64ae46a7002f7ee56aaddf36b /recipes/openttd/openttd-gfx_0.1.1.bb
parent7b2a48f169ec2f0ffca1a9465364d42d5a0ddb6a (diff)
downloadopenembedded-6372f6f812ce52e7e5495949894b09ef80055ed6.tar.gz
openttd: add version 0.7.4-RC1 and sound and graphic files from openttdcoop.org
* Can't reuse .inc because openttd won't build with --target configure option * Sounds and Graphics from openttdcoop.org are GPL and CC licensed files to replace the propertarie files needed by this game Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/openttd/openttd-gfx_0.1.1.bb')
-rw-r--r--recipes/openttd/openttd-gfx_0.1.1.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/openttd/openttd-gfx_0.1.1.bb b/recipes/openttd/openttd-gfx_0.1.1.bb
new file mode 100644
index 0000000000..f791a8835e
--- /dev/null
+++ b/recipes/openttd/openttd-gfx_0.1.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Grafik files for openttd"
+HOMEPAGE = "http://bundles.openttdcoop.org/opengfx/"
+LICENSE = "GPLv2"
+
+PACKAGE_ARCH = "all"
+
+SRC_URI = "http://bundles.openttdcoop.org/download.php?file=opengfx%2Freleases%2Fopengfx-${PV}.zip"
+
+do_install() {
+ mv ${WORKDIR}/docs/license.txt ${WORKDIR}/gfx_license.txt
+ install -d ${D}${datadir}/games/openttd/data/
+ install -m 0644 ${WORKDIR}/opengfx-${PV}.tar ${D}${datadir}/games/openttd/data/
+ install -m 0644 ${WORKDIR}/gfx_license.txt ${D}${datadir}/games/openttd/data/
+}
+
+FILES_${PN} = "${datadir}"