blob: 99fb8359f6e1739addcb222bcc70bbf8b8286644 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild,v 1.3 2009/03/14 22:34:37 eva Exp $
inherit autotools gnome2
DESCRIPTION="Lightweight C Jabber library"
HOMEPAGE="http://www.loudmouth-project.org/"
SRC_URI="http://ftp.imendio.com/pub/imendio/${PN}/src/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="asyncns doc ssl debug test"
RDEPEND=">=dev-libs/glib-2.4
ssl? ( >=net-libs/gnutls-1.4.0 )
asyncns? ( net-libs/libasyncns )"
# FIXME:
# openssl dropped because of bug #216705
DEPEND="${RDEPEND}
test? ( dev-libs/check )
dev-util/pkgconfig
doc? ( >=dev-util/gtk-doc-1 )
>=dev-util/gtk-doc-am-1"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="${G2CONF} $(use_enable debug)"
if use ssl; then
G2CONF="${G2CONF} --with-ssl=gnutls"
else
G2CONF="${G2CONF} --with-ssl=no"
fi
if use asyncns; then
G2CONF="${G2CONF} --with-asyncns=system"
else
G2CONF="${G2CONF} --without-asyncns"
fi
}
src_unpack() {
gnome2_src_unpack
# Use system libasyncns, bug #236844
epatch "${FILESDIR}/${P}-asyncns-system.patch"
eautoreconf
}
|