2012-11-21 11:12:43 -06:00
|
|
|
# Description: A message bus system
|
2017-03-02 22:18:19 +11:00
|
|
|
# URL: https://freedesktop.org/wiki/Software/dbus
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: dbus expat-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=dbus-32
|
2022-03-13 12:07:53 +01:00
|
|
|
version=1.14.0
|
2012-11-21 11:12:43 -06:00
|
|
|
release=1
|
2022-03-13 12:07:53 +01:00
|
|
|
source=(https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2017-03-02 22:18:19 +11:00
|
|
|
cd ${name%-*}-$version
|
2015-05-17 04:37:01 +10:00
|
|
|
|
2018-03-02 00:02:26 +11:00
|
|
|
[ -e '/usr/lib/pkgconfig/x11.pc' ] && [ ! -e '/usr/lib32/pkgconfig/x11.pc' ] && printf "\e[031mxorg-libx11 is detected on your system, please run:
|
|
|
|
prt-get depinst xorg-libx11-32
|
|
|
|
before continuing with dbus-32.\033[0m\n" &&
|
|
|
|
exit 1
|
|
|
|
|
2012-11-21 11:12:43 -06:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--with-dbus-daemondir=/usr/sbin \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--libexecdir=/usr/lib32/dbus \
|
|
|
|
--with-dbus-user=messagebus \
|
2015-11-21 13:29:44 +11:00
|
|
|
--with-init-scripts=none \
|
2012-11-21 11:12:43 -06:00
|
|
|
--with-system-pid-file=/var/run/dbus/dbus.pid
|
2015-05-17 04:37:01 +10:00
|
|
|
|
2012-11-21 11:12:43 -06:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2014-06-20 20:55:12 +10:00
|
|
|
|
2014-06-22 18:18:09 +10:00
|
|
|
rm -r $PKG/var $PKG/usr/{bin,etc,include,sbin,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|