# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="GUI interface/designer for command line programs" HOMEPAGE="http://everygui.sourceforge.net/" MY_P=${PN}-0.99.b SRC_URI="http://voxel.dl.sourceforge.net/sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/python-2.3 >=x11-libs/gtk+-2.6 >=dev-python/pygtk-2.6 >=gnome-base/libglade-2" S=${WORKDIR}/${PN} src_unpack() { unpack ${A} epatch "${FILESDIR}/${PV}-gentoo.diff" } src_compile() { python setup.py build || die "setup.py build failed" } src_install() { python setup.py install --prefix=${D}/usr || die "setup.py install failed" } pkg_postinst () { fperms 0777 /usr/share/everygui/egconfig }