# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils games DESCRIPTION="GTK2 Gngeo frontend written in Python" HOMEPAGE="http://www.choplair.org/?en/XGngeo" SRC_URI="http://download.berlios.de/xgngeo/${P}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND=" >=x11-libs/gtk+-2 >=dev-lang/python-1.99 >=dev-python/pygtk-2 games-emulation/gngeo" S="${WORKDIR}/${P}" src_unpack() { unpack ${A} cd "${S}" || die "cd failed" epatch "${FILESDIR}/XGngeo-16-gentoo-paths.patch" } src_install() { python setup.py install --prefix=${D}/usr || die "install failed" prepgamesdirs } pkg_postinst() { games_pkg_postinst }