# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: EAPI="2" inherit eutils MY_P=Synkron-${PV} DESCRIPTION="Synkron is an application for folder synchronisation." HOMEPAGE="http://synkron.sourceforge.net" SRC_URI="mirror://sourceforge/synkron/${MY_P}-src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" DEPEND=">=x11-libs/qt-gui-4.3" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}-src" src_prepare() { epatch "${FILESDIR}/synkron-1.6.2-unix-install.diff" } src_configure() { lrelease Synkron.pro qmake -config release prefix=${D}usr || die "qmake failed" } src_install() { emake DESTDIR="${D}" install || die "Install failed" }