aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openttd/openttd-sfx_0.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openttd/openttd-sfx_0.1.0.bb')
-rw-r--r--recipes/openttd/openttd-sfx_0.1.0.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/openttd/openttd-sfx_0.1.0.bb b/recipes/openttd/openttd-sfx_0.1.0.bb
new file mode 100644
index 0000000000..05dd021372
--- /dev/null
+++ b/recipes/openttd/openttd-sfx_0.1.0.bb
@@ -0,0 +1,16 @@
+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}"