summaryrefslogtreecommitdiff
blob: 1a59b88dab742e0ec771c0bea52d0e25758ad99d (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
40
41
42
43
44
45
46
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-0.13.ebuild,v 1.2 2003/11/15 05:46:00 seemant Exp $

IUSE="doc"

S=${WORKDIR}/${P}
DESCRIPTION="A message bus system"
HOMEPAGE="http://www.freedesktop.org/software/dbus/"
SRC_URI="http://www.freedesktop.org/software/dbus/releases/${P}.tar.gz"

SLOT="0"
LICENSE="Academic"
KEYWORDS="~x86"

DEPEND="dev-libs/glib
	dev-libs/libxml2
	dev-util/pkgconfig
	doc? ( app-doc/doxygen
		app-text/openjade )"
#	qt? ( x11-libs/qt )"

src_unpack() {
	unpack ${A}
	cd ${S}
}

src_compile() {
	econf \
		--enable-glib \
		`use_enable doc docs`\
		--disable-qt \
		--with-initscripts=redhat || die

	# Qt bindings are currently broken -- I have this info from an email from
	# Zack Rusin <zack@kde.org>
	#	`use_enable qt` \
	make || die
}

src_install() {
	einstall || die
	keepdir /var/lib/run/dbus

	dodoc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README
}