|
|
# Distributed under the terms of the GNU General Public License v2 | # 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 $ | # $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" | DESCRIPTION="Gameboy emulator with multiple renderers" |
HOMEPAGE="http://gnuboy.unix-fu.org/" | HOMEPAGE="http://gnuboy.unix-fu.org/" |
SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz" | SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz" |
|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="x86 ppc amd64" | 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() { | src_install() { |
dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ docs/HACKING docs/WHATSNEW |
egamesinstall |
dobin fbgnuboy sdlgnuboy sgnuboy xgnuboy || die |
dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ \ |
|
docs/HACKING docs/WHATSNEW |
} | } |