# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v 1.5 2011/04/06 20:03:49 arfrever Exp $ EAPI=3 PYTHON_DEPEND="2:2.5" inherit eutils python distutils games DESCRIPTION="A graphical frontend for the FCEUX emulator" HOMEPAGE="http://fceux.com" SRC_URI="mirror://sourceforge/fceultra/fceux-${PV}.src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="dev-python/pygtk" RDEPEND="${DEPEND} games-emulation/fceux" S=${WORKDIR}/${PN} pkg_setup() { python_set_active_version 2 python_pkg_setup games_pkg_setup } src_prepare() { python_convert_shebangs -r 2 . distutils_src_prepare epatch "${FILESDIR}"/${P}-gentoo.patch } src_compile() { distutils_src_compile } src_install() { distutils_src_install \ --install-scripts="${GAMES_BINDIR}" prepgamesdirs } pkg_postinst() { games_pkg_postinst distutils_pkg_postinst }