# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.2.3.ebuild,v 1.2 2007/06/14 05:45:06 genstef Exp $ inherit gnome2 DESCRIPTION="Lightweight C Jabber library" HOMEPAGE="http://developer.imendio.com/projects/loudmouth/" SRC_URI="http://ftp.imendio.com/pub/imendio/${PN}/src/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc ssl debug test" RDEPEND=">=dev-libs/glib-2.4 ssl? ( >=net-libs/gnutls-1.4.0 )" DEPEND="${RDEPEND} test? ( dev-libs/check ) dev-util/pkgconfig doc? ( >=dev-util/gtk-doc-1 )" DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { G2CONF="$(use_enable ssl) \ $(use_enable debug) \ $(use_enable doc gtk-doc)" }