diff options
Diffstat (limited to 'system/virtualbox-ose/virtualbox-ose.SlackBuild')
-rw-r--r-- | system/virtualbox-ose/virtualbox-ose.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/system/virtualbox-ose/virtualbox-ose.SlackBuild b/system/virtualbox-ose/virtualbox-ose.SlackBuild index f6e26c200507b..ec714d6a44e62 100644 --- a/system/virtualbox-ose/virtualbox-ose.SlackBuild +++ b/system/virtualbox-ose/virtualbox-ose.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for virtualbox-ose -# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2008 Mauro Giachero <mauro.giachero@gmail.com> # All rights reserved. # @@ -25,7 +25,7 @@ PRGNAM=virtualbox-ose SRCNAM=VirtualBox -VERSION=3.1.2 +VERSION=3.1.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -104,8 +104,10 @@ if [ "${QT4:-yes}" = "yes" ]; then cp -f src/VBox/Installer/linux/virtualbox.desktop $PKG/usr/share/applications/ sed -i "s|\$VBOX_DOC_PATH|/usr/share/virtualbox|" \ $PKG/usr/share/applications/virtualbox.desktop + guiapp="VirtualBox" else qtgui+=" --disable-qt4" + guiapp="" fi CFLAGS="$SLKCFLAGS" \ @@ -144,7 +146,10 @@ cd out/linux.$BUILDDIR/release/bin/ rm -f vboxdrv.ko virtualbox.desktop mv VBox.png $PKG/usr/share/pixmaps/ mv src $PKG/usr/src/virtualbox-kernel-$VERSION - mv sdk nls* *.tar.gz $PKG/usr/share/virtualbox/ + mv sdk $PKG/usr/share/virtualbox/ + if [ "${QT4:-yes}" = "yes" ]; then + mv nls* *.tar.gz $PKG/usr/share/virtualbox/ + fi install -m $MODE -g $GROUP VBoxSysInfo.sh $PKG/usr/share/virtualbox/ install -m $MODE -g $GROUP VBoxTunctl $PKG/usr/bin/ rm -f VoxSysInfo.sh VBoxTunctl @@ -154,12 +159,12 @@ cd out/linux.$BUILDDIR/release/bin/ mv $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/VBox.sh $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/VBox cd - -for i in VirtualBox VBoxManage VBoxSDL VBoxHeadless VBoxVRDP $vboxwebsrv; do +for i in VBoxManage VBoxSDL VBoxHeadless VBoxVRDP $guiapp $vboxwebsrv; do ln -s /usr/lib$LIBDIRSUFFIX/virtualbox/VBox $PKG/usr/bin/$i ; done if [ "$harden" = "--enable-hardening" ]; then - for i in VirtualBox VBoxSDL VBoxHeadless; do + for i in VBoxSDL VBoxHeadless $guiapp; do chmod 4${MODE} $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/$i done fi |