milis/talimatname/temel/kmod/talimat

31 lines
638 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: The Kmod package contains libraries and utilities for loading kernel modules.
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
# Paketçi: milisarge
# Gerekler:
isim=kmod
surum=22
devir=1
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
derle()
{
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
--disable-manpages \
--with-xz \
--with-zlib
make
make DESTDIR=$PKG install
mkdir $PKG/sbin
for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod $PKG/sbin/$target
done
ln -sv kmod $PKG/bin/lsmod
}