vp-build/templates/dbus/template
Juan RP b2878b7a9e dbus: add a rc.d script, create dbus user/group dbus for binpkgs.
--HG--
extra : convert_revision : 48ea6899a325893f2d5ca0f61159b37085e79a47
2009-03-20 06:02:37 +01:00

38 lines
1.3 KiB
Plaintext

# Template file for 'dbus'
pkgname=dbus
sourcepkg=$pkgname
version=1.2.12
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=b2ec81e7d9fa5e24f67baccfd9af2755a7797a65cb4c3cad10d023867f2bd220
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_dirs="/etc/dbus-1"
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="devel libs"
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 -D -m755 ${FILESDIR}/dbus ${DESTDIR}/etc/rc.d/dbus
}