# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" DESCRIPTION="Yet another directories sync tool, with a GUI for GNOME and KDE4" HOMEPAGE="http://yadsync.le-web.org/" SRC_URI="http://yadsync.le-web.org/download/yadsync/${P}_src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="kde gnome" DEPEND="dev-lang/python net-misc/rsync[xattr] kde? ( >=kde-base/kdelibs-4 kde-base/pykde4 kde-base/kompare ) gnome? ( gnome-base/libglade ) dev-python/notify-python " RDEPEND="${DEPEND}" src_compile() { cd ${S}/common econf emake if use kde ; then cd ../kde4 econf emake fi if use gnome ; then cd ../gnome econf emake fi } src_install() { cd ${S}/common emake DESTDIR="${D}" install if use kde ; then cd ../kde4 emake DESTDIR="${D}" install fi if use gnome ; then cd ../gnome emake DESTDIR="${D}" install fi }