summaryrefslogtreecommitdiff
path: root/packages/nogravity/nogravity_2.0.bb
blob: 1814d77a5ac77d0bb04a6425db2fbda5fd02d7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# TODO: port to sdl.bbclass?
DESCRIPTION = "3D arcade space shooter"
HOMEPAGE = "http://www.realtech-vr.com/nogravity/"
LICENSE = "GPL"
SECTION = "x11/games"
MAINTAINER = "Koen Kooi <koen@dominion.kabel.utwente.nl>"
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/
}