# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/gngeo/gngeo-0.7.ebuild,v 1.2 2006/10/26 20:13:08 tupone Exp $ inherit eutils autotools games DESCRIPTION="A NeoGeo emulator" HOMEPAGE="http://m.peponas.free.fr/gngeo/" SRC_URI="http://download.berlios.de/gngeo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="" RDEPEND="virtual/opengl sys-libs/zlib media-libs/sdl-image >=media-libs/libsdl-1.2" # gcc-3.3 gets it wrong - bug #128587 DEPEND="${RDEPEND} >=sys-devel/gcc-3.4 x86? ( >=dev-lang/nasm-0.98 )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-execstacks.patch" \ "${FILESDIR}"/${P}-concurrentMake.patch autoreconf } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS FAQ NEWS README* TODO sample_gngeorc prepgamesdirs } pkg_postinst() { games_pkg_postinst echo einfo "A licensed NeoGeo BIOS copy is required to run the emulator." echo }