blob: 3e1dda7c1dfe81bf179d9c7da4f2fdd5c1d33315 (
plain)
1 # Description: A message bus system
2 # URL: https://freedesktop.org/wiki/Software/dbus
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: expat-32 dbus
5
6 name=dbus-32
7 version=1.12.8
8 release=1
9 source=(https://${name%-*}.freedesktop.org/releases/${name%-*}/${name%-*}-$version.tar.gz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 [ -e '/usr/lib/pkgconfig/x11.pc' ] && [ ! -e '/usr/lib32/pkgconfig/x11.pc' ] && printf "\e[031mxorg-libx11 is detected on your system, please run:
15 prt-get depinst xorg-libx11-32
16 before continuing with dbus-32.\033[0m\n" &&
17 exit 1
18
19 ./configure --prefix=/usr \
20 --libdir=/usr/lib32 \
21 --with-dbus-daemondir=/usr/sbin \
22 --localstatedir=/var \
23 --libexecdir=/usr/lib32/dbus \
24 --with-dbus-user=messagebus \
25 --with-init-scripts=none \
26 --with-system-pid-file=/var/run/dbus/dbus.pid
27
28 make
29 make DESTDIR=$PKG install
30
31 rm -r $PKG/var $PKG/usr/{bin,etc,include,sbin,share}
32 }
|