summaryrefslogtreecommitdiff
blob: c306f3e38ec728b4ef6f694ab28cd24e1a8987c5 (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
29
30
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/obby-0.4.4.ebuild,v 1.5 2008/05/19 19:36:01 jer Exp $

DESCRIPTION="Library for collaborative text editing"
HOMEPAGE="http://gobby.0x539.de/"
SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
IUSE="avahi ipv6"

DEPEND=">=net-libs/net6-1.3.5
		>=dev-libs/libsigc++-2.0
		>=dev-libs/gmp-4.1.4
		avahi? ( net-dns/avahi )"
RDEPEND="${DEPEND}"

src_compile() {
	econf \
		$(use_with avahi zeroconf) \
		$(use_enable ipv6) \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog NEWS README TODO
}