# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12a.ebuild,v 1.7 2004/07/01 11:14:31 eradicator Exp $ inherit autotools games cvs DESCRIPTION="A Sega Genesis/CD/32X emulator" HOMEPAGE="http://gens.consolemul.com/" SRC_URI="" ECVS_SERVER="${PN}.cvs.sourceforge.net:/cvsroot/${PN}" ECVS_MODULE="Gens-MultiPlatform" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="opengl" RDEPEND=">=media-libs/libsdl-1.2 >=x11-libs/gtk+-2.4.0 opengl? ( virtual/opengl )" DEPEND="${RDEPEND} >=dev-lang/nasm-0.98" S="${WORKDIR}/Gens-MultiPlatform/linux" src_unpack() { cvs_src_unpack cd ${S} eautoreconf } src_compile() { local MYCONF use opengl || MYCONF="--without-opengl" egamesconf ${MYCONF} || die "econf failed!" emake || die "emake failed!" } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS BUGS COPYING INSTALL README gens.txt history.txt prepgamesdirs }