# Copyright 2000-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcontrol/gcontrol-1.29.ebuild,v 1.11 2006/07/02 20:24:08 vapier Exp $ inherit DESCRIPTION="Gnome Control panel made by people of the Ubuntu forum" HOMEPAGE="http://ubuntuforums.org/showthread.php?t=207894" SRC_URI="http://priyantha.nl/gentoo/download/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" src_install() { dodir /usr/lib/python2.4/site-packages/Gcontrol dodir /usr/share/doc/gcontrol dodir /usr/share/gcontrol # cp -pPR ${WORKDIR}/usr/* ${D}/usr # cp -pPRf ${WORKDIR}/gcontrol-1.29/usr/* ${D}/usr/ cp -pPRf ${WORKDIR}/${P}/usr/* ${D}/usr einfo "Move old /usr/bin/control-center to /usr/bin/control-center-old" einfo "Move old /usr/local/bin/control center to /usr/local/bin/control-center-old" mv -vg /usr/bin/control-center /usr/bin/control-center-old mv -vg /usr/local/bin/control-center /usr/local/bin/control-center-old einfo "symlink new /usr/bin/gcontrol to /usr/bin/control-center" einfo "symlink new /usr/bin/gcontrol to /usr/local/bin/control-center" ln -sv /usr/bin/gcontrol /usr/bin/control-center ln -sv /usr/bin/gcontrol /usr/local/bin/control-center einfo "In combination with slab this works the best" einfo "The file gcontrol in /usr/bin is changed so translations don't work anymore" einfo "This solved an litle bug in the program in combination with Gentoo." einfo "There will be an bugfix soon" }