# 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="https://sourceforge.net/projects/dbus-cplusplus" EGIT_REPO_URI="git://gitorious.org/dbus-cplusplus/mainline.git" EGIT_BOOTSTRAP="./autogen.sh" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64" 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 }