DESCRIPTION="Classic game where you control a steel ball by tilting a wooden labyrinth"
HOMEPAGE="http://mokomaze.projects.openmoko.org/"
SECTION="x11/games"
PRIORITY="optional"
LICENSE="GPLv3"
DEPENDS="libsdl-ttf libsdl-image ode"
RDEPENDS="ttf-liberation-mono libpng"

RDEPENDS_shr += "fsoraw"

PR="r1"
PV="0.5.5+git8"


SRC_URI="http://mokomaze.projects.openmoko.org/files/${PN}-${PV}.tar.gz"

SRC_URI_append_shr = " file://fsoraw.patch;patch=1"

inherit autotools

EXTRA_OECONF="FONTDIR=${datadir}/fonts/truetype --enable-rgb-swap"

# needed for ode
LDFLAGS += "-lstdc++"