new: migrated more packages
This commit is contained in:
3
src/dbus/.gitignore
vendored
Normal file
3
src/dbus/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/dbus/changes.md
Normal file
2
src/dbus/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.14.10
|
||||
First version
|
40
src/dbus/pkg.sh
Normal file
40
src/dbus/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user