2018-07-11 10:42:38 +02:00
|
|
|
|
# Tanım: VirtualBox guest kernel modules, to use with guest-utils
|
|
|
|
|
# URL: https://virtualbox.org
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: kernel elfutils
|
|
|
|
|
# Grup: sistem
|
|
|
|
|
|
|
|
|
|
isim=virtualbox-guest-modules
|
2018-11-21 10:10:54 +01:00
|
|
|
|
surum=5.2.22
|
2018-10-12 20:39:47 +02:00
|
|
|
|
devir=1
|
2018-11-25 14:27:07 +01:00
|
|
|
|
kaynak=(https://sourceforge.net/projects/kaosx/files/sources/virtualbox-modules/vbox-guest-module-src-$surum.tar.xz)
|
2018-07-11 10:42:38 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
2018-10-12 20:24:10 +02:00
|
|
|
|
_kernver="`ls /lib/modules`"
|
2018-07-11 10:42:38 +02:00
|
|
|
|
cd $SRC/vbox-guest-module-src-${surum}
|
2018-11-25 14:44:17 +01:00
|
|
|
|
make all -j1 KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${PKG}/lib/modules/${_kernver} \
|
|
|
|
|
MODULE_DIR=${PKG}/lib/modules/${_kernver}/extra
|
|
|
|
|
cd $SRC/vbox-guest-module-src-${surum}/
|
|
|
|
|
|
2018-07-11 10:42:38 +02:00
|
|
|
|
install -dm755 ${PKG}/lib/modules/${_kernver}/extra
|
|
|
|
|
install -m644 *.ko ${PKG}/lib/modules/${_kernver}/extra/
|
|
|
|
|
}
|