summaryrefslogtreecommitdiff
path: root/recipes/openttd/openttd-gfx_0.1.1.bb
blob: f791a8835ef14e0c6d9cd7d363da73649ee2ab32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}"