milis/talimatname/genel/dbus/talimat

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-03-22 12:31:47 +01:00
# Description: Freedesktop.org ileti taşıma sistemi
2016-02-24 01:27:23 +01:00
# URL: http://www.freedesktop.org/wiki/Software/dbus/
2017-01-21 19:16:00 +01:00
# Packager: milisarge
2017-01-31 01:37:09 +01:00
# Depends on: expat xorg-libx11 xorg-libsm xorg-libice
2016-02-24 01:27:23 +01:00
name=dbus
version=1.10.6
release=1
source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
dbus.system-local.conf)
build() {
source /etc/blfs-bootscripts
2017-01-21 19:16:00 +01:00
wget http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$scripts-$scriptsversion.tar.bz2
2016-02-24 01:27:23 +01:00
tar xvf $scripts-$scriptsversion.tar.bz2
cd $name-$version
./configure --prefix=/usr --with-x \
--localstatedir=/var \
--disable-doxygen-docs \
--disable-xml-docs \
--docdir=/usr/share/doc/$name-$version \
--sysconfdir=/etc \
--with-console-auth-dir=/run/console \
--without-systemdsystemunitdir \
--disable-systemd --disable-static
make
make DESTDIR=$PKG install
# Adjust some files
chown -v root:messagebus $PKG/usr/libexec/dbus-daemon-launch-helper
chmod -v 4750 $PKG/usr/libexec/dbus-daemon-launch-helper
mkdir -p $PKG/etc/dbus-1
mv ../dbus.system-local.conf $PKG/etc/dbus-1/system-local.conf
# service
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-dbus
mkdir -p $PKG/usr/lib/dbus-1.0/services
mkdir -p $PKG/usr/share/dbus-1/services
mkdir -p $PKG/etc/dbus-1/system.d/
mkdir -p $PKG/etc/dbus-1/session.d/
for i in 2 3 4 5
2017-01-31 01:37:09 +01:00
do
2016-02-24 01:27:23 +01:00
mv $PKG/etc/rc.d/rc$i.d/S{29,15}dbus
done
for i in 0 1 6
do
mv $PKG/etc/rc.d/rc$i.d/K{30,85}dbus
done
}