summaryrefslogtreecommitdiff
path: root/packages/cnc/redalert-demo-gamedata.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cnc/redalert-demo-gamedata.bb')
-rw-r--r--packages/cnc/redalert-demo-gamedata.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/cnc/redalert-demo-gamedata.bb b/packages/cnc/redalert-demo-gamedata.bb
new file mode 100644
index 0000000000..1aa5722647
--- /dev/null
+++ b/packages/cnc/redalert-demo-gamedata.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Red Alert Demo game data"
+LICENSE = "shareware"
+
+SRC_URI = "ftp://ftp.westwood.com/pub/redalert/previews/demo/ra95demo.zip"
+
+do_install() {
+ install -d ${D}/${datadir}/games/redalert/data/mix
+ cp ${WORKDIR}/ra95demo/INSTALL/MAIN.MIX ${D}/${datadir}/games/redalert/data/mix/main.mix
+ cp ${WORKDIR}/ra95demo/INSTALL/REDALERT.MIX ${D}/${datadir}/games/redalert/data/mix/redalert.mix
+}
+
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "${datadir}/games/redalert/"
+