forked from ports/compat-32
32 lines
901 B
Plaintext
32 lines
901 B
Plaintext
# Description: A message bus system
|
|
# URL: http://freedesktop.org/wiki/Software/dbus
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: expat-32 dbus
|
|
|
|
name=dbus-32
|
|
version=1.6.18
|
|
release=1
|
|
source=(http://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.gz \
|
|
rc.dbus 30-dbus.launch)
|
|
|
|
build() {
|
|
cd dbus-$version
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--with-dbus-daemondir=/usr/sbin \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib32/dbus \
|
|
--mandir=/usr/man \
|
|
--disable-static \
|
|
--with-dbus-user=messagebus \
|
|
--with-xml=expat \
|
|
--with-system-pid-file=/var/run/dbus/dbus.pid
|
|
make
|
|
make DESTDIR=$PKG install
|
|
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
|
|
rm -r $PKG/usr/share/doc
|
|
rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share}
|
|
}
|