summaryrefslogtreecommitdiff
path: root/recipes/nogravity
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nogravity')
-rw-r--r--recipes/nogravity/nogravity_2.0.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/nogravity/nogravity_2.0.bb b/recipes/nogravity/nogravity_2.0.bb
new file mode 100644
index 0000000000..b8db04f639
--- /dev/null
+++ b/recipes/nogravity/nogravity_2.0.bb
@@ -0,0 +1,29 @@
+# TODO: port to sdl.bbclass?
+DESCRIPTION = "3D arcade space shooter"
+HOMEPAGE = "http://www.realtech-vr.com/nogravity/"
+LICENSE = "GPL"
+SECTION = "x11/games"
+DEPENDS = "libsdl-x11 zlib libpng libsdl-mixer libogg libvorbis"
+PR = "r1"
+
+SRC_URI = "http://zaurus.vivaphp.net/nogravity.tar.bz2 \
+ ${SOURCEFORGE_MIRROR}/nogravity/rt-nogravity-data.zip"
+
+S = "${WORKDIR}/${PN}/src/Linux/"
+PACKAGES += "${PN}-data"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-sound=sdl_mixer --disable-opengl"
+
+FILES_${PN} += "/usr/games/nogravity/no*"
+FILES_${PN}-data = "/usr/games/nogravity/*.RMX"
+PACKAGE_ARCH_${PN}-data = "all"
+RRECOMMENDS+${PN} = "${PN}-data"
+
+do_install_prepend() {
+ install -d ${D}/usr/games/nogravity/
+ install -m 644 ${WORKDIR}/*.RMX ${D}/usr/games/nogravity/
+}
+
+