|
Lines 2-7
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/gnuboy-1.0.3.ebuild,v 1.7 2004/06/24 22:28:21 agriffis Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/gnuboy-1.0.3.ebuild,v 1.7 2004/06/24 22:28:21 agriffis Exp $ |
| 4 |
|
4 |
|
|
|
5 |
inherit games |
| 6 |
|
| 5 |
DESCRIPTION="Gameboy emulator with multiple renderers" |
7 |
DESCRIPTION="Gameboy emulator with multiple renderers" |
| 6 |
HOMEPAGE="http://gnuboy.unix-fu.org/" |
8 |
HOMEPAGE="http://gnuboy.unix-fu.org/" |
| 7 |
SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz" |
9 |
SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz" |
|
Lines 9-19
Link Here
|
| 9 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
| 10 |
SLOT="0" |
12 |
SLOT="0" |
| 11 |
KEYWORDS="x86 ppc amd64" |
13 |
KEYWORDS="x86 ppc amd64" |
| 12 |
IUSE="" |
14 |
IUSE="X fbcon sdl svga x86" |
|
|
15 |
|
| 16 |
RDEPEND="X? ( virtual/x11 ) |
| 17 |
sdl? ( media-libs/libsdl ) |
| 18 |
svga? ( media-libs/svgalib ) |
| 19 |
!X? ( !svga ( !fbcon ( media-libs/libsdl ) ) )" |
| 20 |
|
| 21 |
src_compile() { |
| 22 |
local myconf |
| 13 |
|
23 |
|
| 14 |
RDEPEND="media-libs/libsdl" |
24 |
if ! use X && ! use svga && ! use fbcon; then |
|
|
25 |
myconf="--with-sdl" |
| 26 |
fi |
| 27 |
|
| 28 |
egamesconf \ |
| 29 |
$(use_with X x) \ |
| 30 |
$(use_with fbcon fb) \ |
| 31 |
$(use_with sdl) \ |
| 32 |
$(use_with svga svgalib) \ |
| 33 |
$(use_enable x86 asm) \ |
| 34 |
${myconf} \ |
| 35 |
--disable-arch \ |
| 36 |
--disable-optimize |
| 37 |
emake || die "emake failed" |
| 38 |
} |
| 15 |
|
39 |
|
| 16 |
src_install() { |
40 |
src_install() { |
| 17 |
dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ docs/HACKING docs/WHATSNEW |
41 |
egamesinstall |
| 18 |
dobin fbgnuboy sdlgnuboy sgnuboy xgnuboy || die |
42 |
dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ \ |
|
|
43 |
docs/HACKING docs/WHATSNEW |
| 19 |
} |
44 |
} |