blob: d2fe3522d36afd20b014ff5f65a31809c04a0ec2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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"
}
|