milis/talimatname/temel/kmod/talimat

32 lines
668 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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:
2018-09-03 00:26:44 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=kmod
2018-09-03 00:26:44 +02:00
surum=25
2018-06-09 00:06:58 +02:00
devir=1
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
derle()
{
2018-09-03 00:26:44 +02:00
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
--disable-manpages \
--with-xz \
--with-zlib
2018-06-09 00:06:58 +02:00
2018-09-03 00:26:44 +02:00
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
2018-06-09 00:06:58 +02:00
}