Prereq: 1.7 Index: gnuboy/gnuboy-1.0.3.ebuild =================================================================== --- gnuboy/gnuboy-1.0.3.ebuild {cset 8863a71c-77fb-4cb7-ad35-3a13eaf6c7f0} +++ gnuboy/gnuboy-1.0.3.ebuild {local clone} @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/gnuboy-1.0.3.ebuild,v 1.7 2004/06/24 22:28:21 agriffis Exp $ +inherit games + DESCRIPTION="Gameboy emulator with multiple renderers" HOMEPAGE="http://gnuboy.unix-fu.org/" SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz" @@ -9,11 +11,26 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc amd64" -IUSE="" +IUSE="X fbcon sdl svga x86" + +RDEPEND="X? ( virtual/x11 ) + sdl? ( media-libs/libsdl ) + svga? ( media-libs/svgalib )" -RDEPEND="media-libs/libsdl" +src_compile() { + egamesconf \ + $(use_with X x) \ + $(use_with fbcon fb) \ + $(use_with sdl) \ + $(use_with svga svgalib) \ + $(use_enable x86 asm) \ + --disable-arch \ + --disable-optimize + emake || die "emake failed" +} src_install() { - dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ docs/HACKING docs/WHATSNEW - dobin fbgnuboy sdlgnuboy sgnuboy xgnuboy || die + egamesinstall + dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ \ + docs/HACKING docs/WHATSNEW }