diff options
author | sibel <lesibel@free.fr> | 2010-12-23 17:50:39 +0000 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-23 17:50:39 +0000 |
commit | 9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c (patch) | |
tree | 9a1e80e2326453c083b014496da0a664e6ada6fd /acompiler/virtualbox-bin/Pkgfile | |
parent | cb63ed4d903550c90cd43f8573473dfb363ef1bc (diff) | |
download | nutyx-pakxe-9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c.tar.gz nutyx-pakxe-9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c.tar.bz2 nutyx-pakxe-9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c.tar.xz nutyx-pakxe-9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c.zip |
virtualbox-bin#4.0.0-1, maj port
Diffstat (limited to 'acompiler/virtualbox-bin/Pkgfile')
-rwxr-xr-x | acompiler/virtualbox-bin/Pkgfile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/acompiler/virtualbox-bin/Pkgfile b/acompiler/virtualbox-bin/Pkgfile index b44c50d4e..de09a3d42 100755 --- a/acompiler/virtualbox-bin/Pkgfile +++ b/acompiler/virtualbox-bin/Pkgfile @@ -5,15 +5,17 @@ # Depends on: virtualbox-module, sdl name=virtualbox-bin -version=3.2.10 -release=2 -_release=66896 -source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_x86.run) +version=4.0.0 +release=1 +_release=69151 +[ "`uname -m`" == "i686" ] && _ARCH=x86 +[ "`uname -m`" == "x86_64" ] && _ARCH=amd64 +source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run) build() { - sh VirtualBox-${version}-${_release}-Linux_x86.run --keep --noexec --target $SRC/ + sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.run --keep --noexec --target $SRC/ mkdir -p $PKG/opt/VirtualBox $PKG/etc/vbox $PKG/usr/bin $PKG/etc/udev/rules.d/ \ $PKG/usr/share/applications/ $PKG/usr/share/pixmaps/ cd $PKG/opt/VirtualBox |