diff options
-rw-r--r-- | recipes/openttd/openttd-sfx_0.2.3.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/openttd/openttd-sfx_0.2.3.bb b/recipes/openttd/openttd-sfx_0.2.3.bb new file mode 100644 index 0000000000..ae4a13e865 --- /dev/null +++ b/recipes/openttd/openttd-sfx_0.2.3.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Freely licensed sound data files for OpenTTD" +HOMEPAGE = "http://bundles.openttdcoop.org/opensfx/" +LICENSE = "CC Sampling Plus 1.0" + +PACKAGE_ARCH = "all" + +SRC_URI = "http://bundles.openttdcoop.org/opensfx/releases/opensfx-${PV}.zip" + +S = "${WORKDIR}/opensfx-${PV}" + +do_install() { + install -d ${D}${datadir}/games/openttd/data/ + install -m 0644 *.obs ${D}${datadir}/games/openttd/data/ + install -m 0644 opensfx.cat ${D}${datadir}/games/openttd/data/ + install -m 0644 changelog.txt ${D}${datadir}/games/openttd/data/opensfx_changelog.txt + install -m 0644 readme.txt ${D}${datadir}/games/openttd/data/opensfx_readme.txt + install -m 0644 license.txt ${D}${datadir}/games/openttd/data/opensfx_license.txt + + ln -s opensfx.cat ${D}${datadir}/games/openttd/data/sample.cat +} + +FILES_${PN} = "${datadir}" + +SRC_URI[md5sum] = "3605b82f24153500c8a1804e4420168a" +SRC_URI[sha256sum] = "6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02" |