From d76a86faf2c5121857fb85ec56e2f90256416bf4 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sat, 12 Mar 2011 17:22:38 +0100 Subject: [PATCH] openttd-gfx 0.3.2: New recipe. * Drop in replacement for formerly deleted 0.1.1. Signed-off-by: Robert Schuster --- recipes/openttd/openttd-gfx_0.3.2.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes/openttd/openttd-gfx_0.3.2.bb diff --git a/recipes/openttd/openttd-gfx_0.3.2.bb b/recipes/openttd/openttd-gfx_0.3.2.bb new file mode 100644 index 0000000000..3c8a3652ba --- /dev/null +++ b/recipes/openttd/openttd-gfx_0.3.2.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Freely licensed data files for OpenTTD" +HOMEPAGE = "http://bundles.openttdcoop.org" +LICENSE = "GPLv2" + +PACKAGE_ARCH = "all" + +SRC_URI = "http://bundles.openttdcoop.org/opengfx/releases/${PV}/opengfx-${PV}.zip" + +S = "${WORKDIR}/opengfx-${PV}" + +do_install() { + install -d ${D}${datadir}/games/openttd/data/ + install -m 0644 ${S}/*.grf ${D}${datadir}/games/openttd/data/ + install -m 0644 ${S}/*.obg ${D}${datadir}/games/openttd/data/ + install -m 0644 ${S}/changelog.txt ${D}${datadir}/games/openttd/data/opengfx_changelog.txt + install -m 0644 ${S}/readme.txt ${D}${datadir}/games/openttd/data/opengfx_readme.txt + install -m 0644 ${S}/license.txt ${D}${datadir}/games/openttd/data/opengfx_license.txt +} + +FILES_${PN} = "${datadir}" + +SRC_URI[md5sum] = "70a09cf9df7938a3c3f184d18fc4f0f1" +SRC_URI[sha256sum] = "e9f94bb0799e9a8d9bf6451da353434086f027fe0dfb7c01d205f739467fafdb" -- 2.39.5