summaryrefslogtreecommitdiff
blob: 819ac9803e17da6ed0948eb42e419f75d7620da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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}
}