talimat 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Tanım: System utilities for handling file systems consoles partitions and messages.
  2. # URL: http://freshmeat.net/projects/util-linux/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=util-linux
  6. surum=2.27.1
  7. devir=1
  8. kaynak=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$surum.tar.xz
  9. )
  10. derle()
  11. {
  12. cd util-linux-$surum
  13. mkdir -pv $PKG/var/lib/hwclock
  14. ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
  15. --docdir=/usr/share/doc/$isim-$surum \
  16. --disable-chfn-chsh \
  17. --disable-login \
  18. --disable-nologin \
  19. --disable-su \
  20. --disable-setpriv \
  21. --disable-runuser \
  22. --disable-pylibmount \
  23. --disable-static \
  24. --without-python \
  25. --without-systemd \
  26. --without-systemdsystemunitdir
  27. make
  28. make DESTDIR=$PKG install
  29. mv $PKG/usr/bin/* $PKG/bin/
  30. rm -r $PKG/usr/bin
  31. mv $PKG/usr/sbin/* $PKG/sbin/
  32. rm -r $PKG/usr/sbin
  33. rm -r $PKG/usr/share/{doc,bash-completion}
  34. rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
  35. rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
  36. }