blob: 1ffe51747de7ddbe74361c0ed1c1d1241107d23a (
plain)
1 # Description: A message bus system
2 # URL: https://freedesktop.org/wiki/Software/dbus
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: expat
5
6 name=dbus
7 version=1.14.4
8 release=1
9 source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.xz
10 rc.dbus 30-dbus.launch)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --with-dbus-daemondir=/usr/sbin \
18 --localstatedir=/var \
19 --runstatedir=/run \
20 --sysconfdir=/etc \
21 --libexecdir=/usr/lib/dbus \
22 --with-dbus-user=messagebus \
23 --with-init-scripts=none \
24 --with-system-pid-file=/run/dbus/pid \
25 --with-system-socket=/run/dbus/system_bus_socket
26
27 make
28 make DESTDIR=$PKG install
29
30 install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus
31 install -D -m 0755 $SRC/30-dbus.launch \
32 $PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch.sh
33
34 rm -r $PKG/usr/share/doc $PKG/var/run
35 rm -rf $PKG/usr/share/xml
36 }
|