summaryrefslogtreecommitdiffstats
path: root/base/virtualbox-module/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-17 23:36:47 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-17 23:36:47 +0100
commit8d8418877cb57cff82b926adce9e1d2bb38e79a2 (patch)
treeb254cc5e4b4353f14f1b2165c35cecc2fbf89af7 /base/virtualbox-module/Pkgfile
parent8f2331606dc4b66d428d20c1fcf1c53b10036b78 (diff)
downloadnutyx-pakxe-8d8418877cb57cff82b926adce9e1d2bb38e79a2.tar.gz
nutyx-pakxe-8d8418877cb57cff82b926adce9e1d2bb38e79a2.tar.bz2
nutyx-pakxe-8d8418877cb57cff82b926adce9e1d2bb38e79a2.tar.xz
nutyx-pakxe-8d8418877cb57cff82b926adce9e1d2bb38e79a2.zip
Maj virtualbox-module#3.1.4-1
Diffstat (limited to 'base/virtualbox-module/Pkgfile')
-rwxr-xr-xbase/virtualbox-module/Pkgfile15
1 files changed, 7 insertions, 8 deletions
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
}