# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/lsyncd/lsyncd-2.0.7.ebuild,v 1.2 2012/09/23 08:37:11 pacho Exp $ EAPI=4 inherit eutils DESCRIPTION="Live Syncing (Mirror) Daemon" HOMEPAGE="http://code.google.com/p/lsyncd/" SRC_URI="http://lsyncd.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND=">=dev-lang/lua-5.1" RDEPEND="${DEPEND} net-misc/rsync" src_prepare() { epatch "${FILESDIR}"/${P}-lua5{1,2}.patch } src_configure() { econf --docdir="${EPREFIX}"/usr/share/doc/${P} }