summaryrefslogtreecommitdiff
path: root/recipes/rocksndiamonds
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rocksndiamonds')
-rw-r--r--recipes/rocksndiamonds/files/rocksndiamonds.pngbin0 -> 1114 bytes
-rw-r--r--recipes/rocksndiamonds/rocksndiamonds_3.2.0.bb27
2 files changed, 27 insertions, 0 deletions
diff --git a/recipes/rocksndiamonds/files/rocksndiamonds.png b/recipes/rocksndiamonds/files/rocksndiamonds.png
new file mode 100644
index 0000000000..a93d6d4e73
--- /dev/null
+++ b/recipes/rocksndiamonds/files/rocksndiamonds.png
Binary files differ
diff --git a/recipes/rocksndiamonds/rocksndiamonds_3.2.0.bb b/recipes/rocksndiamonds/rocksndiamonds_3.2.0.bb
new file mode 100644
index 0000000000..3932bd5f98
--- /dev/null
+++ b/recipes/rocksndiamonds/rocksndiamonds_3.2.0.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Rocks'n'Diamonds - Boulderdash/Emerald Mine/Supaplex/Sokoban clone."
+SECTION = "games"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.artsoft.org/rocksndiamonds/"
+AUTHOR = "Holger Schemel <info@artsoft.org>"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-${PV}.tar.gz \
+ file://rocksndiamonds.png"
+
+DEPENDS += "libsdl-net smpeg"
+
+APPIMAGE = "../rocksndiamonds.png"
+EXTRA_OEMAKE = "CC='${CC}' AR='${AR}' RANLIB='${RANLIB}' RO_GAME_DIR='${datadir}/${PN}' RW_GAME_DIR='${datadir}/${PN}'"
+
+inherit sdl
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 ${PN} ${D}${bindir}
+ install -d ${D}${datadir}/${PN}
+ cp -r graphics levels music scores sounds ${D}${datadir}/${PN}/
+}
+
+
+FILES_${PN} += "${bindir}/${PN} ${datadir}/${PN}"