summaryrefslogtreecommitdiffstats
path: root/base/virtualbox-module/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-26 20:03:26 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-26 20:03:26 +0100
commitcd40a7eb5540476366198ecf11fee04f4d63d76e (patch)
tree505c490bc361014226be5bfc50f4213312a2fc50 /base/virtualbox-module/Pkgfile
parent7e11b4410a39e74b79f4f7272eae010342c1277d (diff)
downloadnutyx-extra-cd40a7eb5540476366198ecf11fee04f4d63d76e.tar.gz
nutyx-extra-cd40a7eb5540476366198ecf11fee04f4d63d76e.tar.bz2
nutyx-extra-cd40a7eb5540476366198ecf11fee04f4d63d76e.tar.xz
nutyx-extra-cd40a7eb5540476366198ecf11fee04f4d63d76e.zip
Maj de virtualbox-module#3.1.2-6, déplacé dans base
Diffstat (limited to 'base/virtualbox-module/Pkgfile')
-rwxr-xr-xbase/virtualbox-module/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/virtualbox-module/Pkgfile b/base/virtualbox-module/Pkgfile
new file mode 100755
index 000000000..c8b60fc31
--- /dev/null
+++ b/base/virtualbox-module/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Modules kernel pour virtualbox
+# URL: http://www.virtualbox.org
+# Maintainer: NutyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=virtualbox-module
+version=3.1.2
+release=6
+_name=VirtualBox
+_kernel=`uname -r`
+_build=56127
+source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
+
+
+
+build() {
+ sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec
+ tar xfj VirtualBox.tar.bz2
+
+ mkdir -p $PKG/lib/modules/${_kernel}/kernel/drivers/misc/
+ cd src
+ make
+ install -D -m 0644 vboxdrv.ko \
+ $PKG/lib/modules/${_kernel}/kernel/drivers/misc/vboxdrv.ko
+ install -D -m 0644 vboxnetflt.ko \
+ $PKG/lib/modules/${_kernel}/kernel/drivers/misc/vboxnetflt.ko
+}