# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit git DESCRIPTION="c++ bindings for dbus" HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings" SRC_URI="" EGIT_REPO_URI="git://anongit.freedesktop.org/git/dbus/dbus-c++/" EGIT_BOOTSTRAP="./autogen.sh" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="glib doc" DEPEND="sys-apps/dbus doc? ( app-doc/doxygen )" RDEPEND="glib? ( dev-libs/glib )" src_compile() { econf $(use_enable glib) $(use_enable doc doxygen-docs) || die "econf failed!" emake || die "emake failed!" } src_install() { emake DESTDIR="${D}" install || die "Install failed" if use doc; then dohtml -r doc/html/* fi }