From 2d2c025f15d1ee1f885de46e22cff84506f183d1 Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 23 Dec 2010 17:51:37 +0000 Subject: virtualbox-module#4.0.0-1, maj port --- acompiler/virtualbox-module/Pkgfile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'acompiler/virtualbox-module/Pkgfile') 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/ -- cgit v1.2.3-70-g09d2