talimat 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Tanım: Freedesktop.org ileti taşıma sistemi
  2. # URL: http://www.freedesktop.org/wiki/Software/dbus/
  3. # Paketçi: milisarge
  4. # Gerekler: xorg-libx11 xorg-libsm xorg-libice
  5. # Grup: sistem
  6. isim=dbus
  7. surum=1.10.6
  8. devir=1
  9. kaynak=(http://dbus.freedesktop.org/releases/dbus/$isim-$surum.tar.gz \
  10. dbus.system-local.conf)
  11. derle() {
  12. source /etc/blfs-bootscripts
  13. wget http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$scripts-$scriptsversion.tar.bz2
  14. tar xvf $scripts-$scriptsversion.tar.bz2
  15. cd $isim-$surum
  16. ./configure --prefix=/usr --with-x \
  17. --localstatedir=/var \
  18. --disable-doxygen-docs \
  19. --disable-xml-docs \
  20. --docdir=/usr/share/doc/$isim-$surum \
  21. --sysconfdir=/etc \
  22. --with-console-auth-dir=/run/console \
  23. --without-systemdsystemunitdir \
  24. --disable-systemd --disable-static
  25. make
  26. make DESTDIR=$PKG install
  27. # Adjust some files
  28. chown -v root:messagebus $PKG/usr/libexec/dbus-daemon-launch-helper
  29. chmod -v 4750 $PKG/usr/libexec/dbus-daemon-launch-helper
  30. mkdir -p $PKG/etc/dbus-1
  31. mv ../dbus.system-local.conf $PKG/etc/dbus-1/system-local.conf
  32. # service
  33. cd ../$scripts-$scriptsversion
  34. make DESTDIR=$PKG install-dbus
  35. mkdir -p $PKG/usr/lib/dbus-1.0/services
  36. mkdir -p $PKG/usr/share/dbus-1/services
  37. mkdir -p $PKG/etc/dbus-1/system.d/
  38. mkdir -p $PKG/etc/dbus-1/session.d/
  39. for i in 2 3 4 5
  40. do
  41. mv $PKG/etc/rc.d/rc$i.d/S{29,15}dbus
  42. done
  43. for i in 0 1 6
  44. do
  45. mv $PKG/etc/rc.d/rc$i.d/K{30,85}dbus
  46. done
  47. }