summaryrefslogtreecommitdiff
path: root/repo/system/dbus.xibuild
blob: e7fc0820fd7c40a56a209add8b4e119c5ac2774e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

DEPS=(elogind)

PKG_VER=1.12.20
SOURCE=https://dbus.freedesktop.org/releases/dbus/dbus-$PKG_VER.tar.gz

DESC="A message bus system allowing applications to talk to one another"

build () {
    ./configure --prefix=/usr                        \
            --sysconfdir=/etc                    \
            --localstatedir=/var                 \
            --enable-user-session                \
            --disable-doxygen-docs               \
            --disable-xml-docs                   \
            --disable-static                     \
            --with-systemduserunitdir=no         \
            --with-systemdsystemunitdir=no       \
            --docdir=/usr/share/doc/dbus-$PKG_VER \
            --with-console-auth-dir=/run/console \
            --with-system-pid-file=/run/dbus/pid \
            --with-system-socket=/run/dbus/system_bus_socket &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install

    chown -v root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper &&
    chmod -v      4750       $PKG_DEST/usr/libexec/dbus-daemon-launch-helper
}