# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: IUSE="" DESCRIPTION="gnome-osd, an On Screen Display for Gnome" SRC_URI="http://telecom.inescporto.pt/~gjc/gnome-osd/${P}.tar.bz2" HOMEPAGE="http://www.gnomefiles.org/app.php?soft_id=350" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" RDEPEND=">=dev-python/gnome-python-2.6.0" DEPEND="${RDEPEND} sys-devel/gettext dev-util/pkgconfig dev-util/intltool" src_unpack() { unpack ${A} cd ${S} } src_compile() { econf GCONF_CONFIG_SOURCE="xml::${D}/etc/gconf/gconf.xml.defaults" || die emake || die } src_install() { echo DIRECTORY ${D} cd ${S} cp Makefile Makefile.orig sed -e "s:\/etc\/gconf\/gconf.xml.defaults:\${D}\/etc\/gconf\/gconf.xml.defaults:" Makefile.orig > Makefile rm Makefile.orig einstall || die dodoc AUTHORS COPYING* ChangeLog NEWS README* }