2006-09-07 18:03:04 +02: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 20:44:39 +02:00
|
|
|
|
|
|
|
name=dbus
|
2020-07-02 19:39:14 +02:00
|
|
|
version=1.12.20
|
2022-02-18 13:58:56 +01:00
|
|
|
release=3
|
2021-12-13 18:53:32 +01:00
|
|
|
source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz
|
2021-12-11 23:06:47 +01:00
|
|
|
rc.dbus 30-dbus.launch)
|
2006-09-03 20:44:39 +02: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/lib/cmake
|
|
|
|
rm -rf $PKG/usr/share/xml
|
2006-09-03 20:44:39 +02:00
|
|
|
}
|