# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/boycott-advance-sdl/boycott-advance-sdl-0.2.8.ebuild,v 1.2 2004/06/24 22:24:44 agriffis Exp $ inherit games MY_RLS="R1" DESCRIPTION="A Gameboy Advance (GBA) emulator for Linux" HOMEPAGE="http://sdlemu.ngemu.com/basdl.php" SRC_URI="http://sdlemu.ngemu.com/releases/BoyCottAdvance-SDL-${PV}${MY_RLS}.i386.linux.tar.gz" KEYWORDS="-* x86" LICENSE="as-is" SLOT="0" IUSE="" RDEPEND="virtual/x11 virtual/opengl >=media-libs/libsdl-1.2 sys-libs/zlib" S="${WORKDIR}/boyca-sdl" src_install() { local dir="${GAMES_PREFIX_OPT}/${PN}" exeinto "${dir}" doexe boyca || die "doexe failed" insinto "${dir}/roms" doins PongFighter/* || die "doins failed (roms)" insinto "${dir}" doins boyca.cfg || die "doins failed (cfg)" dodoc docs/* || die "dodoc failed" games_make_wrapper boyca ./boyca "${dir}" prepgamesdirs }