2019-09-28 00:17:56 +08:00
|
|
|
# Description: Message bus system, a simple way for applications to talk to one another
|
|
|
|
# URL:
|
2019-11-10 23:58:56 +08:00
|
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
2019-09-28 00:17:56 +08:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=dbus
|
2022-04-09 08:19:46 +08:00
|
|
|
version=1.14.0
|
2019-09-28 00:17:56 +08:00
|
|
|
release=1
|
2022-04-09 08:19:46 +08:00
|
|
|
source=(https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz)
|
2019-09-28 00:17:56 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--enable-user-session \
|
|
|
|
--disable-doxygen-docs \
|
|
|
|
--disable-xml-docs \
|
|
|
|
--disable-static \
|
|
|
|
--with-systemduserunitdir=no \
|
|
|
|
--with-systemdsystemunitdir=no \
|
|
|
|
--with-console-auth-dir=/run/console \
|
|
|
|
--with-system-pid-file=/run/dbus/pid \
|
|
|
|
--with-system-socket=/run/dbus/system_bus_socket
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
mkdir -p $PKG/lib
|
|
|
|
mv -v $PKG/usr/lib/libdbus-1.so.* $PKG/lib
|
|
|
|
ln -sfv ../../lib/$(readlink $PKG/usr/lib/libdbus-1.so) $PKG/usr/lib/libdbus-1.so
|
|
|
|
|
|
|
|
chown -v root:messagebus $PKG/usr/libexec/dbus-daemon-launch-helper
|
|
|
|
chmod -v 4750 $PKG/usr/libexec/dbus-daemon-launch-helper
|
|
|
|
|
|
|
|
# if build logind support
|
|
|
|
#ln -sv $PKG/var/lib/dbus/machine-id $PKG/etc
|
|
|
|
}
|