diff options
Diffstat (limited to 'recipes/openttd/openttd-gfx_0.1.1.bb')
-rw-r--r-- | recipes/openttd/openttd-gfx_0.1.1.bb | 16 |
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}" |