aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox/virtualbox.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2014-10-18 04:50:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-18 04:50:29 +0700
commit03f59fc1052a8e71e5de269329d75338fea8a289 (patch)
tree59932b1a2dab0c325b0176058d9cc453390f8f97 /system/virtualbox/virtualbox.SlackBuild
parent2ff80ae137e4e35fe3a6cf159a5ad1f6908a75a0 (diff)
system/virtualbox: Updated for version 4.3.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r--system/virtualbox/virtualbox.SlackBuild19
1 files changed, 15 insertions, 4 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild
index a28d2a55ba93b..24ccaccdb8b3f 100644
--- a/system/virtualbox/virtualbox.SlackBuild
+++ b/system/virtualbox/virtualbox.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=virtualbox
SRCNAM=VirtualBox
-VERSION=${VERSION:-4.3.10}
+VERSION=${VERSION:-4.3.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,6 +84,14 @@ else
libvpx=""
fi
+# Enable pulseaudio integration
+if [ "${PULSE:-no}" = "no" ]; then
+ libpulse="--disable-pulse"
+else
+ libpulse=""
+fi
+
+
if [ "${WEBSERVICE:-no}" = "no" ]; then
web_service=""
vboxwebsrv=""
@@ -141,14 +149,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--disable-kmods \
- --disable-pulse \
--enable-vde \
--enable-vnc \
$web_service \
$harden \
$gui \
$java \
- $libvpx
+ $libvpx \
+ $libpulse
. ./env.sh
@@ -215,7 +223,7 @@ cd out/linux.$BUILDDIR/release/bin/
install -m $MODE -g $GROUP VBoxCreateUSBNode.sh $PKG/usr/share/virtualbox/
install -m $MODE -g $GROUP VBoxTunctl $PKG/usr/bin/
install -m $MODE -g $GROUP VBoxFUSE $PKG/usr/bin/
- rm -f VBoxSysInfo.sh VBoxCreateUSBNode.sh VBoxTunctl
+ rm -f VBoxSysInfo.sh VBoxCreateUSBNode.sh VBoxTunctl VBoxFUSE
mv * $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
chown -R root:$GROUP $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
chmod -R $MODE $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
@@ -281,6 +289,9 @@ chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/lib/udev/rules.d
install -m 644 $CWD/10-virtualbox.rules $PKG/lib/udev/rules.d/
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
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