2008-10-25 01:07:58 +02:00
|
|
|
# Template file for 'dbus'
|
|
|
|
pkgname=dbus
|
2011-08-12 09:18:45 +02:00
|
|
|
version=1.4.14
|
2011-08-14 10:57:05 +02:00
|
|
|
revision=2
|
2011-06-04 22:20:44 +02:00
|
|
|
homepage="http://dbus.freedesktop.org/"
|
|
|
|
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
2008-10-25 01:07:58 +02:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
|
2011-02-18 17:48:25 +01:00
|
|
|
--localstatedir=/var --disable-dnotify --enable-inotify --with-dbus-user=dbus
|
2011-06-26 18:18:59 +02:00
|
|
|
--disable-doxygen-docs --disable-xml-docs --disable-tests
|
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system"
|
2008-10-25 01:07:58 +02:00
|
|
|
short_desc="Message bus system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-04 22:20:44 +02:00
|
|
|
license="GPL-2"
|
2011-08-12 09:18:45 +02:00
|
|
|
checksum=47f27efc29aa9d1cc64b74e374204084d6fd53191e70dd584b604181059e5877
|
2008-10-25 01:07:58 +02: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-02-15 01:23:33 +01:00
|
|
|
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2010-04-16 22:09:33 +02:00
|
|
|
openrc_services="dbus default true"
|
2009-12-11 12:06:41 +01:00
|
|
|
system_accounts="dbus"
|
2009-02-15 01:23:33 +01:00
|
|
|
|
2010-02-17 04:47:38 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run expat
|
|
|
|
Add_dependency run dbus-libs
|
2010-04-16 11:37:27 +02:00
|
|
|
Add_dependency run libX11
|
2011-08-12 09:18:45 +02:00
|
|
|
|
|
|
|
Add_dependency build coreutils
|
2010-02-17 04:47:38 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build expat-devel
|
2010-04-16 11:37:27 +02:00
|
|
|
Add_dependency build libX11-devel
|
2010-04-16 22:23:10 +02:00
|
|
|
|
2009-03-20 06:02:37 +01:00
|
|
|
post_install()
|
|
|
|
{
|
2011-06-24 22:50:30 +02:00
|
|
|
# install dbus-launch.
|
2011-08-14 10:57:05 +02:00
|
|
|
vinstall tools/dbus-launch 755 usr/bin
|
|
|
|
vinstall doc/dbus-launch.1 644 usr/share/man/man1
|
|
|
|
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
|
2009-05-04 23:51:22 +02:00
|
|
|
# Install the OpenRC service
|
2011-08-14 10:57:05 +02:00
|
|
|
vinstall ${FILESDIR}/dbus.rc 755 etc/init.d dbus
|
2009-03-20 06:02:37 +01:00
|
|
|
}
|