summaryrefslogtreecommitdiffstats
path: root/acompiler/virtualbox-module/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-23 17:51:37 +0000
committersibel <lesibel@free.fr>2010-12-23 17:51:37 +0000
commit2d2c025f15d1ee1f885de46e22cff84506f183d1 (patch)
treee96ff8a4f40d876bb81d4c4e09f16d8138da140e /acompiler/virtualbox-module/Pkgfile
parent9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c (diff)
downloadnutyx-extra-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.gz
nutyx-extra-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.bz2
nutyx-extra-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.xz
nutyx-extra-2d2c025f15d1ee1f885de46e22cff84506f183d1.zip
virtualbox-module#4.0.0-1, maj port
Diffstat (limited to 'acompiler/virtualbox-module/Pkgfile')
-rwxr-xr-xacompiler/virtualbox-module/Pkgfile16
1 files changed, 10 insertions, 6 deletions
diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile
index fad56be03..26318e92e 100755
--- a/acompiler/virtualbox-module/Pkgfile
+++ b/acompiler/virtualbox-module/Pkgfile
@@ -4,17 +4,21 @@
# Packager: thierryn1 at hispeed dot ch
name=virtualbox-module
-version=3.2.10
-release=2
+version=4.0.0
+release=1
_name=VirtualBox
-_kernel=2.6.36-NuTyX
-_build=66896
-source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
+_kernel=`uname -r`
+_build=69151
+
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
+
+source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_${_ARCH}.run)
build() {
- sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec
+ sh "VirtualBox-${version}-${_build}-Linux_${_ARCH}.run" --target "$SRC" --keep --noexec
tar xfj VirtualBox.tar.bz2
mkdir -p $PKG/lib/modules/${_kernel}/kernel/drivers/misc/