milis/talimatname/genel/v/virtualbox-guest-modules/talimat

22 lines
748 B
Plaintext
Raw Permalink 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: 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
surum=5.2.22
devir=1
kaynak=(https://sourceforge.net/projects/kaosx/files/sources/virtualbox-modules/vbox-guest-module-src-$surum.tar.xz)
derle() {
_kernver="`ls /lib/modules`"
cd $SRC/vbox-guest-module-src-${surum}
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}/
install -dm755 ${PKG}/lib/modules/${_kernver}/extra
install -m644 *.ko ${PKG}/lib/modules/${_kernver}/extra/
}