### this file is sourced not run
PKGVER=1.8.0
PKGBUILD=1
PKGARCH=i686

# source: BLFS 7.5
TARBALL=dbus-$PKGVER.tar.gz
MD5SUM=059fbe84e39fc99c67a14f15b1f39dff 
SRC_URL=http://dbus.freedesktop.org/releases/dbus/$TARBALL
BUNDLE=

SLACKREQ='expat32'
SLACKDESC="dbus32: dbus32 $PKGVER (Userspace message bus)  
dbus32:  
dbus32: D-Bus is a message bus system, a simple way for applications to talk to 
dbus32: one another. D-Bus supplies both a system daemon (for events such as 
dbus32: “new hardware device added” or “printer queue changed”) and a 
dbus32: per-user-login-session daemon (for general IPC needs among user 
dbus32: applications). Also, the message bus is built on top of a general 
dbus32: one-to-one message passing framework, which can be used by any two 
dbus32: applications to communicate directly (without going through the message 
dbus32: bus daemon).  
dbus32: This contains 32-bit version of the library.
"
SLACKSUG=libX11

### default pkg_download
### default pkg_prepare
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share usr/libexec etc/dbus-1
}

### build
pkg_build() {
	CONFFLAGS32="$CONFFLAGS32 \
            --with-console-auth-dir=/run/console/ \
            --without-systemdsystemunitdir \
            --disable-systemd              \
            --disable-static               \
            --disable-doxygen-docs         \
            --with-xml=expat" &&
    pkg_build_autoconf &&
    mv -v /usr/share/doc/dbus /usr/share/doc/dbus-$PKGVER &&
	pkg_build_slackdesc
}


