From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/dbus/dbus.xibuild | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 repo/dbus/dbus.xibuild (limited to 'repo/dbus/dbus.xibuild') diff --git a/repo/dbus/dbus.xibuild b/repo/dbus/dbus.xibuild new file mode 100644 index 0000000..ba7869b --- /dev/null +++ b/repo/dbus/dbus.xibuild @@ -0,0 +1,60 @@ +#!/bin/sh + +MAKEDEPS="make " +DEPS="elogind" + +PKG_VER=1.12.20 +SOURCE=https://dbus.freedesktop.org/releases/dbus/dbus-$PKG_VER.tar.gz + +ADDITIONAL=" +dbus.confd +dbus.initd +dbus.trigger +" + +DESC="A message bus system allowing applications to talk to one another" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-user-session \ + --disable-doxygen-docs \ + --disable-xml-docs \ + --disable-static \ + --with-systemduserunitdir=$BUILD_ROOT/no \ + --with-systemdsystemunitdir=$BUILD_ROOT/no \ + --docdir=/usr/share/doc/dbus-$PKG_VER \ + --with-console-auth-dir=/run/console \ + --with-system-pid-file=/run/dbus/pid \ + --with-system-socket=/run/dbus/system_bus_socket \ + --with-x && + make +} + +package () { + make DESTDIR=$PKG_DEST install + mv usr/lib/lib*.so.* $PKG_DEST/usr/lib/ + + chown root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper && + chmod 4750 $PKG_DEST/usr/libexec/dbus-daemon-launch-helper + + cat > $PKG_DEST/etc/dbus-1/session-local.conf << "EOF" + + + + + /usr/local/share/dbus-1/services + + +EOF + + install -Dm755 dbus.initd $PKG_DEST/etc/init.d/dbus + install -Dm644 dbus.confd $PKG_DEST/etc/conf.d/dbus +} + +postinstall () { + rc-update add dbus +} -- cgit v1.2.1