# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.2.5.ebuild,v 1.3 2005/11/11 22:04:39 nelchael Exp $ inherit eutils DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers." SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.gz" HOMEPAGE="http://synergy2.sourceforge.net/" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" SLOT="0" IUSE="" DEPEND="virtual/x11" src_unpack() { unpack "${A}" epatch "${FILESDIR}/${P}-print-buffer.patch" } src_compile() { econf --sysconfdir=/etc || die emake || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS BUGS ChangeLog HISTORY NEWS PORTING README TODO insinto /etc doins ${S}/examples/synergy.conf } pkg_postinst() { einfo einfo "${PN} can also be used to connect to computers running Windows." einfo "Visit ${HOMEPAGE} to find the Windows client." einfo }