# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.3.1.2-r2.ebuild,v 1.9 2006/02/01 10:11:54 blubb Exp $ inherit games eutils autotools DESCRIPTION="X-Moto is a challenging 2D motocross platform game" HOMEPAGE="http://xmoto.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="virtual/opengl >=dev-lang/lua-5.0.2 >=media-libs/jpeg-6b-r5 >=media-libs/libmikmod-3.1.11-r1 >=media-libs/libogg-1.1.2 >=media-libs/libpng-1.2.8 >=media-libs/libsdl-1.2.8-r1 >=media-libs/libvorbis-1.1.0 >=media-libs/sdl-mixer-1.2.6 >=media-libs/smpeg-0.4.4-r6 || ( sys-libs/lib-compat app-emulation/emul-linux-x86-compat ) || ( ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp x11-libs/libXext ) virtual/x11 )" DEPEND="${RDEPEND} >=dev-games/ode-0.5-r4" src_compile() { epatch ${FILESDIR}/configure.patch AT_M4DIR="config" eautoreconf games_src_compile } src_install() { egamesinstall }