summaryrefslogtreecommitdiffstats
path: root/base/dbus/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/dbus/Pkgfile')
-rwxr-xr-xbase/dbus/Pkgfile16
1 files changed, 14 insertions, 2 deletions
diff --git a/base/dbus/Pkgfile b/base/dbus/Pkgfile
index 307f33872..561009b02 100755
--- a/base/dbus/Pkgfile
+++ b/base/dbus/Pkgfile
@@ -6,7 +6,7 @@
name=dbus
version=1.4.8
-release=1
+release=2
source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
session-local.conf\
dbus)
@@ -19,7 +19,14 @@ build() {
./configure --prefix=/usr \
--libexecdir=/usr/lib/dbus-1.0 \
--localstatedir=/var \
- --sysconfdir=/etc
+ --sysconfdir=/etc \
+ --enable-shared \
+ --with-xml=expat \
+ --with-system-pid-file=/var/run/dbus.pid \
+ --with-system-socket=/var/run/dbus/system_bus_socket \
+ --with-session-socket-dir=/tmp \
+ --with-dbus-user=messagebus
+
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/dbus-1
@@ -33,5 +40,10 @@ build() {
mv $PKG/etc/rc.d/rc0.d/K{30,85}dbus
mv $PKG/etc/rc.d/rc6.d/K{30,85}dbus
mv $PKG/etc/rc.d/rc1.d/K{30,85}dbus
+
+ mkdir -p $PKG/usr/lib/dbus-1.0/services
+ mkdir -p $PKG/usr/share/dbus-1/services
+ mkdir -p $PKG/etc/dbus-1/system.d/
+ mkdir -p $PKG/etc/dbus-1/session.d/
}