# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-c++/dbus-c++-0.9.0.ebuild,v 1.1 2012/03/02 14:51:09 elvanor Exp $ EAPI="3" inherit autotools DESCRIPTION="dbus-c++ attempts to provide a C++ API for D-BUS." HOMEPAGE="http://www.freedesktop.org/wiki/Software/dbus-c++" SRC_URI="http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c++/${PV}/libdbus-c++-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug ecore" S="${WORKDIR}/libdbus-c++-${PV}" RDEPEND="sys-apps/dbus ecore? ( dev-libs/ecore )" DEPEND="${RDEPEND} dev-util/cppunit dev-util/pkgconfig" src_prepare() { eautoreconf } src_configure() { econf $(use_enable debug) $(use_enable ecore) || die } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "Install failed" }