# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A remake of the famous DOS-game \"stunts\"" HOMEPAGE="http://www.ultimatestunts.nl" SRC_URI="mirror://sourceforge/ultimatestunts/${PN}-srcdata-${PV//./}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="virtual/opengl media-libs/openal >=media-libs/libsdl-1.1 >=media-libs/fmod-3.73 >=dev-games/ode-0.5" S=${WORKDIR}/${PN}-srcdata-${PV//./} src_unpack() { unpack ${A} cd "${S}" # corrects some path to conform with fmod ebuild sed -i \ -e 's:fmod/fmod.h:fmod.h:' \ configure \ || die "sed failed" sed -i \ -e 's:fmod/::' \ ultimatestunts/{music.cpp,music.h,sndsample.cpp,sndsample.h,soundobj.cpp,soundobj.h,sound.cpp,sound.h} \ || die "sed failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" prepgamesdirs }