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}"