compat-32/dbus-32/Pkgfile

33 lines
907 B
Plaintext
Raw Normal View History

# Description: A message bus system
2017-03-02 12:18:19 +01:00
# URL: https://freedesktop.org/wiki/Software/dbus
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2019-08-27 13:48:19 +02:00
# Depends on: dbus expat-32
name=dbus-32
2023-09-02 09:30:40 +02:00
version=1.14.10
release=1
2022-03-13 12:07:53 +01:00
source=(https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz)
build() {
2017-03-02 12:18:19 +01:00
cd ${name%-*}-$version
2015-05-16 20:37:01 +02:00
2018-03-01 14:02:26 +01: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
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--with-dbus-daemondir=/usr/sbin \
--localstatedir=/var \
--libexecdir=/usr/lib32/dbus \
--with-dbus-user=messagebus \
2015-11-21 03:29:44 +01:00
--with-init-scripts=none \
--with-system-pid-file=/var/run/dbus/dbus.pid
2015-05-16 20:37:01 +02:00
make
make DESTDIR=$PKG install
2014-06-20 12:55:12 +02:00
2014-06-22 10:18:09 +02:00
rm -r $PKG/var $PKG/usr/{bin,etc,include,sbin,share}
}