aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openttd/openttd-sfx_0.1.0.bb
blob: 28eca075e87b8a56058a61bb0fee5cb754277d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Sound files for openttd"
HOMEPAGE = "http://bundles.openttdcoop.org/opensfx/"
LICENSE = "CC Sampling Plus 1.0"

PACKAGE_ARCH = "all"

SRC_URI = "http://bundles.openttdcoop.org/download.php?file=opensfx%2Freleases%2Fopensfx-${PV}.zip"

do_install() {
	mv ${WORKDIR}/license.txt ${WORKDIR}/sfx_license.txt
	install -d ${D}${datadir}/games/openttd/data/
	install -m 0644 ${WORKDIR}/opensfx-${PV}.tar ${D}${datadir}/games/openttd/data/
	install -m 0644 ${WORKDIR}/sfx_license.txt ${D}${datadir}/games/openttd/data/
}

FILES_${PN} = "${datadir}"

SRC_URI[md5sum] = "1a43ee0a2026b7fecfd47c7c7e4b056f"
SRC_URI[sha256sum] = "ea0d90e3e049aec2e0884bc117a46e5fb78411b7e3633b3802d4c5af8f29300c"