2008-10-24 23:07:58 +00:00
|
|
|
# Template file for 'dbus'
|
|
|
|
pkgname=dbus
|
2010-03-25 10:08:02 +00:00
|
|
|
version=1.2.24
|
2010-04-16 20:23:10 +00:00
|
|
|
revision=3
|
2008-10-28 22:57:52 +00:00
|
|
|
distfiles="http://dbus.freedesktop.org/releases/dbus/$pkgname-$version.tar.gz"
|
2008-10-24 23:07:58 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
|
2010-04-16 09:37:27 +00:00
|
|
|
--localstatedir=/var --disable-dnotify --enable-inotify
|
2009-03-20 05:02:37 +00:00
|
|
|
--with-dbus-user=dbus"
|
2008-10-24 23:07:58 +00:00
|
|
|
short_desc="Message bus system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-03-25 10:08:02 +00:00
|
|
|
checksum=f12c748f4a703655e3d4c3db94cdf5a752a0cd0b36958c715804373bd3595c48
|
2008-10-24 23:07:58 +00:00
|
|
|
long_desc="
|
|
|
|
D-BUS is a message bus, used for sending messages between applications.
|
|
|
|
Conceptually, it fits somewhere in between raw sockets and CORBA in terms
|
|
|
|
of complexity.
|
|
|
|
|
|
|
|
D-BUS supports broadcast messages, asynchronous messages (thus decreasing
|
|
|
|
latency), authentication, and more. It is designed to be low-overhead;
|
|
|
|
messages are sent using a binary protocol, not using XML. D-BUS also
|
|
|
|
supports a method call mapping for its messages, but it is not required;
|
|
|
|
this makes using the system quite simple."
|
|
|
|
|
2009-10-17 01:12:48 +00:00
|
|
|
keep_empty_dirs=yes
|
2009-02-15 00:23:33 +00:00
|
|
|
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2010-04-16 20:09:33 +00:00
|
|
|
openrc_services="dbus default true"
|
2009-12-11 11:06:41 +00:00
|
|
|
system_accounts="dbus"
|
2009-02-15 00:23:33 +00:00
|
|
|
|
2010-02-17 03:47:38 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run expat
|
|
|
|
Add_dependency run dbus-libs
|
2010-04-16 09:37:27 +00:00
|
|
|
Add_dependency run libSM
|
|
|
|
Add_dependency run libICE
|
|
|
|
Add_dependency run libX11
|
2010-02-17 03:47:38 +00:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build expat-devel
|
2010-04-16 09:37:27 +00:00
|
|
|
Add_dependency build libSM-devel
|
|
|
|
Add_dependency build libICE-devel
|
|
|
|
Add_dependency build libX11-devel
|
2010-04-16 20:23:10 +00:00
|
|
|
Add_dependency build coreutils
|
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
# XXX: use coreutils, somethings fails with busybox.
|
|
|
|
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
|
|
|
|
}
|
2009-03-20 05:02:37 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/var/run
|
2009-05-04 21:51:22 +00:00
|
|
|
# Install the OpenRC service
|
|
|
|
install -D -m755 ${FILESDIR}/dbus.rc ${DESTDIR}/etc/init.d/dbus
|
2009-03-20 05:02:37 +00:00
|
|
|
}
|