void-packages/srcpkgs/dbus/template

53 lines
1.9 KiB
Text
Raw Normal View History

# Template file for 'dbus'
pkgname=dbus
2011-06-24 20:50:30 +00:00
version=1.4.12
2011-06-26 16:18:59 +00:00
revision=2
2011-06-04 20:20:44 +00:00
homepage="http://dbus.freedesktop.org/"
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
2011-02-18 16:48:25 +00:00
--localstatedir=/var --disable-dnotify --enable-inotify --with-dbus-user=dbus
2011-06-26 16:18:59 +00:00
--disable-doxygen-docs --disable-xml-docs --disable-tests
--with-systemdsystemunitdir=/lib/systemd/system"
short_desc="Message bus system"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-04 20:20:44 +00:00
license="GPL-2"
2011-06-24 20:50:30 +00:00
checksum=da3c97fd546610558d588799e27c4fa81101e754acbcd34747a42c131f30dbe7
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."
keep_empty_dirs=yes
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="$pkgname-devel $pkgname-libs"
openrc_services="dbus default true"
system_accounts="dbus"
Add_dependency run glibc
Add_dependency run expat
Add_dependency run dbus-libs
Add_dependency run libX11
Add_dependency build pkg-config
Add_dependency build expat-devel
Add_dependency build libX11-devel
Add_dependency build coreutils
post_install()
{
2011-06-24 20:50:30 +00:00
# install dbus-launch.
2011-06-25 15:37:50 +00:00
install -m755 tools/dbus-launch ${DESTDIR}/usr/bin
2011-06-24 20:50:30 +00:00
install -m644 doc/dbus-launch.1 ${DESTDIR}/usr/share/man/man1
install -Dm755 ${FILESDIR}/30-dbus-xinit \
${DESTDIR}/etc/X11/xinit/xinitrc.d/30-dbus
rm -rf ${DESTDIR}/var/run
# Install the OpenRC service
install -D -m755 ${FILESDIR}/dbus.rc ${DESTDIR}/etc/init.d/dbus
}