# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/gngb/gngb-20020819.ebuild,v 1.4 2003/02/13 07:13:49 vapier Exp $ DESCRIPTION="gngb - Gameboy / Gameboy Color emulator" HOMEPAGE="http://membres.lycos.fr/frogus/gngb/" SRC_URI="http://membres.lycos.fr/frogus/gngb/download/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="x86 -ppc" SLOT="0" IUSE="opengl" RDEPEND="media-libs/libsdl opengl? ( virtual/opengl )" DEPEND="${RDEPEND}" src_compile() { use opengl || myconf=" --with-gl " econf ${myconf} emake || die } src_install() { dodoc NEWS README TODO INSTALL AUTHORS make DESTDIR=${D} install || die }