# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ inherit games eutils PSOURCE="${PN}-srcdata-0521" #PDATA="${PN}-data-0521" DESCRIPTION="Ultimatestunts is a stunts clone" HOMEPAGE="http://www.ultimatestunts.nl" SRC_URI="mirror://sourceforge/ultimatestunts/${PSOURCE}.tar.gz" # mirror://sourceforge/ultimatestunts/${PDATA}.tar.gz" RESTRICT="nomirror" S=${WORKDIR}/${PSOURCE} LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/opengl >=media-libs/libsdl-1.1 media-libs/fmod-3.73 >=dev-games/ode-0.5" RDEPEND="${DEPEND}" src_compile() { # # correct some path to conform with fmod ebuild sed -i -e 's:fmod/fmod.h:fmod.h:' configure || die "sed failed" cd ultimatestunts sed -i \ -e 's:fmod/::' \ music.cpp \ music.h \ sndsample.cpp \ sndsample.h \ soundobj.cpp \ soundobj.h \ sound.cpp \ sound.h \ || die "sed failed" cd ${S} games_src_compile || die } src_install() { egamesinstall || die }