summaryrefslogtreecommitdiff
path: root/packages/nogravity/nogravity_2.0.bb
blob: c2b7dace459dbad0685b29735aa98e4c1cdda59c (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
HOMEPAGE = "http://www.realtech-vr.com/nogravity/"
LICENSE = "GPL"
MAINTAINER = "Koen Kooi <koen@dominion.kabel.utwente.nl>"
DEPENDS = "libsdl-x11 zlib libpng libsdl-mixer libogg libvorbis"
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/
}