# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/driconf/driconf-0.9.0.ebuild,v 1.3 2006/04/12 14:53:24 dang Exp $ inherit distutils DESCRIPTION="driconf is a GTK+2 GUI configurator for DRI." HOMEPAGE="http://dri.freedesktop.org/wiki/DriConf" SRC_URI="http://freedesktop.org/~fxkuehl/${PN}/${P}.tar.gz" LICENSE="GPL-2" IUSE="" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" DEPEND=">=x11-libs/gtk+-2.4 >=dev-lang/python-2.3 >=dev-python/pygtk-2.4 dev-python/pyxml || ( x11-apps/xdriinfo virtual/x11 )" DOCS="CHANGELOG COPYING PKG-INFO README TODO" src_unpack() { unpack ${A} cd "${S}" # Fix install locations which breaks location policy - Josh_B sed -i \ -e 's-/usr/local-/usr-g' \ driconf \ driconf.py \ setup.cfg \ setup.py \ || die "Sed failed!" }