diff options
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r-- | system/virtualbox/virtualbox.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild index 1d09bbdcc8e5d..25e5cf8155cad 100644 --- a/system/virtualbox/virtualbox.SlackBuild +++ b/system/virtualbox/virtualbox.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=virtualbox SRCNAM=VirtualBox -VERSION=4.0.4 +VERSION=4.0.8 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -102,9 +102,6 @@ chmod -R u+w,go+r-w,a-s . GROUP="vboxusers" MODE="755" -mkdir -p $PKG/lib/udev/rules.d -echo 'KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"' \ - > $PKG/lib/udev/rules.d/60-vboxdrv.rules # We don't want a init-script building kernel modules. # Use virtualbox-kernel.SlackBuild for this. @@ -130,6 +127,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-kmods \ --disable-pulse \ --enable-vde \ + --enable-vnc \ $web_service \ $harden \ $qtgui @@ -249,6 +247,10 @@ export VBOX_SDK_PATH=/usr/share/virtualbox/sdk/ EOF chmod 0755 $PKG/etc/profile.d/* +# setup udev rules for vboxdrv and USB device support +mkdir -p $PKG/lib/udev/rules.d +install -m 644 $CWD/10-virtualbox.rules $PKG/lib/udev/rules.d/ + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -f COPYING COPYING.CDDL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE |