31 lines
638 B
Plaintext
31 lines
638 B
Plaintext
# 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
|
||
}
|