vp-build/srcpkgs/dbus/template
Juan RP 7d28725788 dbus: bumprev because this also depends in shadow.
--HG--
extra : convert_revision : 840e43e0e1dfb567b08d90282a98d6a3a253fc21
2009-12-19 04:59:46 +01:00

41 lines
1.4 KiB
Plaintext

# Template file for 'dbus'
pkgname=dbus
version=1.2.16
revision=5
distfiles="http://dbus.freedesktop.org/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
--localstatedir=/var --without-x --disable-dnotify --enable-inotify
--with-dbus-user=dbus"
short_desc="Message bus system"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=968a31c16a6c4bbbdb603cbaa3d60d6d19bc8ae30c0ed55d7f8c2e254413e4c8
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"
system_accounts="dbus"
Add_dependency full glibc
Add_dependency full expat
Add_dependency run dbus-libs
Add_dependency build pkg-config
post_install()
{
rm -rf ${DESTDIR}/var/run
# Install the OpenRC service
install -D -m755 ${FILESDIR}/dbus.rc ${DESTDIR}/etc/init.d/dbus
}