2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: The Kmod package contains libraries and utilities for loading kernel modules.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
isim=kmod
|
|
|
|
|
surum=22
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle()
|
2016-02-24 01:27:23 +01:00
|
|
|
|
{
|
2017-10-28 14:15:02 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
./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
|
2017-10-27 21:56:50 +02:00
|
|
|
|
}
|