talimat 668 B

1234567891011121314151617181920212223242526272829303132
  1. # Tanım: The Kmod package contains libraries and utilities for loading kernel modules.
  2. # URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=kmod
  7. surum=25
  8. devir=1
  9. kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
  10. derle()
  11. {
  12. cd $isim-$surum
  13. ./configure --prefix=/usr \
  14. --bindir=/bin \
  15. --sysconfdir=/etc \
  16. --with-rootlibdir=/lib \
  17. --disable-manpages \
  18. --with-xz \
  19. --with-zlib
  20. make
  21. make DESTDIR=$PKG install
  22. mkdir $PKG/sbin
  23. for target in depmod insmod modinfo modprobe rmmod; do
  24. ln -sv ../bin/kmod $PKG/sbin/$target
  25. done
  26. ln -sv kmod $PKG/bin/lsmod
  27. }