# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/galago-daemon/galago-daemon-0.5.1.ebuild,v 1.5 2007/02/03 14:38:38 nixnut Exp $ inherit eutils autotools DESCRIPTION="Galago presence daemon" HOMEPAGE="http://www.galago-project.org/" SRC_URI="http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="test" RDEPEND=">=dev-libs/glib-2.8 >=dev-libs/libgalago-0.5.2 || ( >=dev-libs/dbus-glib-0.71 ( =sys-apps/dbus-0.36 ) )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9 test? ( dev-libs/check )" src_compile() { econf $(use_enable test tests) || die "configure failed" emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc AUTHORS ChangeLog NEWS README }