You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/dbus-c++/dbus-c++-0.9.0.ebuild

40 lines
917 B

# 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.2 2012/05/04 18:35:55 jdhore 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
virtual/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"
}