summaryrefslogtreecommitdiff
path: root/system/virtualbox/virtualbox.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-06-19 22:37:33 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 22:37:33 -0500
commit3313f5ee24fd63bda0a91aa8afb654834d5b4ed4 (patch)
tree87184f1edd3e7900bbd115f18ee9ff7c6eaacfb2 /system/virtualbox/virtualbox.SlackBuild
parentff3304e00f29d4ec63deaa1f116c53fcc2527c2f (diff)
downloadslackbuilds-3313f5ee24fd63bda0a91aa8afb654834d5b4ed4.tar.gz
system/virtualbox: Updated for version 4.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r--system/virtualbox/virtualbox.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild
index 1d09bbdcc8..25e5cf8155 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