new: migrated more packages

This commit is contained in:
ngn
2024-07-22 21:38:11 +03:00
parent beea0545f8
commit 07d499fef5
32 changed files with 618 additions and 1 deletions

3
src/dbus/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/dbus/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.14.10
First version

40
src/dbus/pkg.sh Normal file
View File

@ -0,0 +1,40 @@
# general info
NAME="dbus"
DESC="Message bus system"
VERSION="1.14.10"
# required files
FILES=("https://dbus.freedesktop.org/releases/dbus/dbus-${VERSION}.tar.xz")
HASHES=("46070a3487817ff690981f8cd2ba9376")
# install and build depends
DEPENDS=("systemd" "libcap" "expat")
BUILD=("python3" "systemd")
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--runstatedir=/run \
--disable-static \
--disable-doxygen-docs \
--disable-xml-docs \
--docdir="/usr/share/doc/dbus-${VERSION}" \
--with-system-socket=/run/dbus/system_bus_socket \
--with-console-auth-dir=/run/console/ \
--with-dbus-user=messagebus \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--enable-systemd \
--enable-user-session
make
make DESTDIR="${ROOTDIR}" install
ln -sfv ../../../etc/machine-id "${ROOTDIR}/var/lib/dbus/machine-id"
cd .. && rm -r "${NAME}-${VERSION}"
}