summaryrefslogtreecommitdiff
blob: 76baf8c5c8b045a8e8ac09faec93188ab8a9eb55 (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
28
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/lsyncd/lsyncd-1.39.ebuild,v 1.1 2010/11/14 12:08:36 jlec Exp $

EAPI=2

inherit base

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"
IUSE="xml"

DEPEND="xml? ( dev-libs/libxml2 )"
RDEPEND="${DEPEND}
	net-misc/rsync"

src_configure() {
	local my_config="--enable-xml-config=no"
	if use xml ; then
		my_config="--enable-xml-config=yes"
	fi
	econf ${my_config}
}