2006-09-07 16:03:04 +00:00
|
|
|
# Description: A message bus system
|
2021-12-11 23:06:47 +01:00
|
|
|
# URL: https://freedesktop.org/wiki/Software/dbus
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: expat
|
2006-09-03 18:44:39 +00:00
|
|
|
|
|
|
|
name=dbus
|
2023-09-02 09:30:00 +02:00
|
|
|
version=1.14.10
|
2019-06-11 21:24:08 +02:00
|
|
|
release=1
|
2022-03-02 15:50:10 +01:00
|
|
|
source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.xz
|
|
|
|
rc.dbus 30-dbus.launch)
|
2006-09-03 18:44:39 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-17 23:38:21 +01:00
|
|
|
cd $name-$version
|
2021-01-26 14:05:43 +01:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2017-11-17 23:38:21 +01:00
|
|
|
--with-dbus-daemondir=/usr/sbin \
|
|
|
|
--localstatedir=/var \
|
2021-12-14 11:22:58 +01:00
|
|
|
--runstatedir=/run \
|
2019-03-11 20:31:16 +01:00
|
|
|
--sysconfdir=/etc \
|
2017-11-17 23:38:21 +01:00
|
|
|
--libexecdir=/usr/lib/dbus \
|
|
|
|
--with-dbus-user=messagebus \
|
|
|
|
--with-init-scripts=none \
|
2022-02-18 13:58:56 +01:00
|
|
|
--with-system-pid-file=/run/dbus/pid \
|
|
|
|
--with-system-socket=/run/dbus/system_bus_socket
|
2017-11-17 23:38:21 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2021-01-26 14:05:43 +01:00
|
|
|
|
2017-11-17 23:38:21 +01:00
|
|
|
install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus
|
|
|
|
install -D -m 0755 $SRC/30-dbus.launch \
|
|
|
|
$PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch.sh
|
2021-01-26 14:05:43 +01:00
|
|
|
|
2022-02-18 13:58:56 +01:00
|
|
|
rm -r $PKG/usr/share/doc $PKG/var/run
|
2017-11-17 23:38:21 +01:00
|
|
|
rm -rf $PKG/usr/share/xml
|
2006-09-03 18:44:39 +00:00
|
|
|
}
|