Lines 1-7
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/lsyncd/lsyncd-1.26.ebuild,v 1.2 2009/06/23 15:15:26 mr_bones_ Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/lsyncd/lsyncd-1.26.ebuild,v 1.2 2009/06/23 15:15:26 mr_bones_ Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils autotools |
6 |
|
5 |
DESCRIPTION="Live Syncing (Mirror) Daemon" |
7 |
DESCRIPTION="Live Syncing (Mirror) Daemon" |
6 |
HOMEPAGE="http://code.google.com/p/lsyncd/" |
8 |
HOMEPAGE="http://code.google.com/p/lsyncd/" |
7 |
SRC_URI="http://lsyncd.googlecode.com/files/${P}.tar.gz" |
9 |
SRC_URI="http://lsyncd.googlecode.com/files/${P}.tar.gz" |
Lines 9-18
Link Here
|
9 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
12 |
SLOT="0" |
11 |
KEYWORDS="~amd64 ~x86" |
13 |
KEYWORDS="~amd64 ~x86" |
12 |
IUSE="" |
14 |
IUSE="xml" |
|
|
15 |
|
16 |
DEPEND="xml? ( dev-libs/libxml2 )" |
17 |
RDEPEND="${DEPEND}" |
18 |
|
19 |
src_unpack() { |
20 |
unpack ${A} |
21 |
cd "${S}" |
22 |
epatch "${FILESDIR}/${P}-libxml2.patch" |
23 |
eautoreconf |
24 |
} |
25 |
|
26 |
src_compile() { |
27 |
econf $(use_enable xml) |
13 |
|
28 |
|
14 |
DEPEND="${RDEPEND}" |
29 |
emake || die "Make failed!" |
15 |
RDEPEND="" |
30 |
} |
16 |
|
31 |
|
17 |
src_install() { |
32 |
src_install() { |
18 |
emake DESTDIR="${D}" install || die "Install failed" |
33 |
emake DESTDIR="${D}" install || die "Install failed" |