blob: 0ee28352c416802ea7c603b88c945d1b766afe7f (
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
31
32
33
34
35
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/obby-0.4.8.ebuild,v 1.7 2015/02/08 17:22:40 mgorny Exp $
EAPI=4
inherit multilib
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 ~arm ppc x86"
IUSE="avahi ipv6 nls static-libs"
RDEPEND="net-libs/net6
dev-libs/libsigc++:2
avahi? ( net-dns/avahi[dbus] )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
DOCS=( AUTHORS ChangeLog NEWS README TODO )
src_configure() {
econf \
$(use_with avahi zeroconf) \
$(use_enable ipv6) \
$(use_enable nls) \
$(use_enable static-libs static)
}
src_install() {
default
use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib${PN}.la
}
|