summaryrefslogtreecommitdiff
path: root/packages/rocksndiamonds/rocksndiamonds_3.2.0.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-09-04 01:51:22 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-09-04 01:51:22 +0000
commitdf688a4ab663c85fc93171fc022529826828e644 (patch)
treed84393ca0282c35694b806338286b511e56c4975 /packages/rocksndiamonds/rocksndiamonds_3.2.0.bb
parent5d66761dcbccbcbc8b635353c341e07f6423ecff (diff)
rocksndiamonds: New package, a game, Boulderdash/Emerald Mine/Supaplex/Sokoban clone.
* Initial draft recipe version, but already works. * Too big even for VGA devices (window size is hardcoded in game). * Data storage formats are non-optimal (pcx/uncompressed level files). * Packaging crude, need to be split up. * Nice game.
Diffstat (limited to 'packages/rocksndiamonds/rocksndiamonds_3.2.0.bb')
-rw-r--r--packages/rocksndiamonds/rocksndiamonds_3.2.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/rocksndiamonds/rocksndiamonds_3.2.0.bb b/packages/rocksndiamonds/rocksndiamonds_3.2.0.bb
new file mode 100644
index 0000000000..ab5a5c8932
--- /dev/null
+++ b/packages/rocksndiamonds/rocksndiamonds_3.2.0.bb
@@ -0,0 +1,28 @@
+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>"
+MAINTAINER = "Paul Sokolovsky <pmiscml@gmail.com>"
+
+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}' 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}"