vp-build/templates/dbus/template
Juan RP 9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00

40 lines
1.4 KiB
Plaintext

# Template file for 'dbus'
pkgname=dbus
sourcepkg=$pkgname
version=1.2.14
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=f58c66e5117f0c66fbc51f99dd994c5e603baa5df2e3d7250a9d880f2b4e1a54
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"
openrc_services="dbus default"
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
}