summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/virtualbox-module/.md5sum2
-rwxr-xr-xbase/virtualbox-module/Pkgfile15
2 files changed, 8 insertions, 9 deletions
diff --git a/base/virtualbox-module/.md5sum b/base/virtualbox-module/.md5sum
index 12c8cb3f0..8917e3c52 100644
--- a/base/virtualbox-module/.md5sum
+++ b/base/virtualbox-module/.md5sum
@@ -1 +1 @@
-4178a0f5aa924c5202632e576d1c14c1 VirtualBox-3.1.2-56127-Linux_x86.run
+4cd92d79644ef6f4c41cb53de77f0458 VirtualBox-3.1.4-57640-Linux_x86.run
diff --git a/base/virtualbox-module/Pkgfile b/base/virtualbox-module/Pkgfile
index 9726fba0e..8fa17e6b1 100755
--- a/base/virtualbox-module/Pkgfile
+++ b/base/virtualbox-module/Pkgfile
@@ -2,14 +2,13 @@
# 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=8
+version=3.1.4
+release=1
_name=VirtualBox
-_kernel=`uname -r`
-_build=56127
+_kernel=`uname -r|sed "s/-NuTyX//"`
+_build=57640
source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
@@ -18,11 +17,11 @@ 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/
+ mkdir -p $PKG/lib/modules/`uname -r`/kernel/drivers/misc/
cd src
make
install -D -m 0644 vboxdrv.ko \
- $PKG/lib/modules/${_kernel}/kernel/drivers/misc/vboxdrv.ko
+ $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko
install -D -m 0644 vboxnetflt.ko \
- $PKG/lib/modules/${_kernel}/kernel/drivers/misc/vboxnetflt.ko
+ $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxnetflt.ko
}