diff --git a/virtualbox/.md5sum b/virtualbox/.md5sum index e625de2b0..d8be7d94d 100644 --- a/virtualbox/.md5sum +++ b/virtualbox/.md5sum @@ -1,4 +1,4 @@ 2a2724088f65d0a373a689209bb4d938 60-vboxdrv.rules -44692aa0e7a8cb6bb36f367d67d78d6a VirtualBox-1.6.0-OSE.tar.bz2 +0372a3a31326078f7849a0467d547a70 VirtualBox-1.6.2-OSE.tar.bz2 d365878a0f2f0a738a093a6bc48293be virtualbox 362e923d42651f370561b0f9095ea7a5 virtualbox.desktop diff --git a/virtualbox/Pkgfile b/virtualbox/Pkgfile index abe24ff06..340abc799 100644 --- a/virtualbox/Pkgfile +++ b/virtualbox/Pkgfile @@ -5,12 +5,12 @@ # Depends on: bin86,dev86,xorg-libxcursor,hal,libsdl,libidl,qt3,xalan-c,iasl name=virtualbox -version=1.6.0 +version=1.6.2 release=1 -source=(VirtualBox-${version}-OSE.tar.bz2 $name 60-vboxdrv.rules $name.desktop) +source=(VirtualBox-$version-OSE.tar.bz2 $name 60-vboxdrv.rules $name.desktop) build() { - cd VirtualBox-${version}_OSE + cd VirtualBox-$version # compile ./configure --with-qt-dir=/usr/share/qt \ --disable-pulse @@ -22,14 +22,14 @@ build() { # install kernel module install -D -m 0644 vboxdrv.ko $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko # remove superfluous files - rm -rf $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin/{src,sdk/samples,testcase} \ - $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin/{vboxdrv.ko,additions/src,nls} - find $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin -type f -name 'tst*' -exec rm -rf {} \; + rm -rf $SRC/VirtualBox-$version/out/linux.x86/release/bin/{src,sdk/samples,testcase} \ + $SRC/VirtualBox-$version/out/linux.x86/release/bin/{vboxdrv.ko,additions/src,nls} + find $SRC/VirtualBox-$version/out/linux.x86/release/bin -type f -name 'tst*' -exec rm -rf {} \; # do the rest install -D -m 0644 $SRC/60-vboxdrv.rules $PKG/etc/udev/rules.d/60-vboxdrv.rules install -d $PKG/usr/{bin,share/$name,share/pixmaps} - install -m 0755 $SRC/${name} $PKG/usr/bin/$name - mv $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/{bin,lib} $PKG/usr/share/$name + install -m 0755 $SRC/$name $PKG/usr/bin/$name + mv $SRC/VirtualBox-$version/out/linux.x86/release/{bin,lib} $PKG/usr/share/$name install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop mv $PKG/usr/share/$name/bin/VBox.png $PKG/usr/share/pixmaps/$name.png rm $PKG/usr/share/$name/bin/{VBox.sh,SUP*nstall} diff --git a/virtualbox/README b/virtualbox/README index 7cd919a6d..27fc7a08b 100644 --- a/virtualbox/README +++ b/virtualbox/README @@ -5,6 +5,7 @@ GETTING SOURES Download sources manually from https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=innotek-1.6-src-G-F@CDS-CDS_SMI + REQUIREMENTS Kernel headers needed for build 'vboxdrv.ko' kernel module.