diff options
3 files changed, 43 insertions, 17 deletions
diff --git a/system/virtualbox-extension-pack/slack-desc b/system/virtualbox-extension-pack/slack-desc index 33db62fc44ceb..1649df586f7ed 100644 --- a/system/virtualbox-extension-pack/slack-desc +++ b/system/virtualbox-extension-pack/slack-desc @@ -8,9 +8,9 @@ |-----handy-ruler------------------------------------------------------| virtualbox-extension-pack: virtualbox-extension-pack (closed source addons for vbox) virtualbox-extension-pack: -virtualbox-extension-pack: The extension pack contains various libraries which make -virtualbox-extension-pack: support for USB 2.0 devices, VirtualBox RDP and PXE boot -virtualbox-extension-pack: for Intel cards possible. +virtualbox-extension-pack: The extension pack contains various libraries which make support for +virtualbox-extension-pack: USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards +virtualbox-extension-pack: possible. virtualbox-extension-pack: virtualbox-extension-pack: Homepage: http://www.virtualbox.org virtualbox-extension-pack: diff --git a/system/virtualbox-extension-pack/virtualbox-extension-pack.SlackBuild b/system/virtualbox-extension-pack/virtualbox-extension-pack.SlackBuild index 4cff01a8c8981..c5bbb21a24f6c 100644 --- a/system/virtualbox-extension-pack/virtualbox-extension-pack.SlackBuild +++ b/system/virtualbox-extension-pack/virtualbox-extension-pack.SlackBuild @@ -2,15 +2,30 @@ # Slackware build script for virtualbox-extension-pack -# Written by Vliegendehuiskat -# E-mail: vliegendehuiskat [at] gmail [dot] com +# Originally written by Vliegendehuiskat, vliegendehuiskat [at] gmail [dot] com -# This script is released in the public domain. -# I am not responsible for any consequences that follow from the -# incorrect use of this script. +# Copyright 2014 Heinz Wiesinger, Amsterdam, The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=virtualbox-extension-pack -VERSION=${VERSION:-4.2.10} +VERSION=${VERSION:-4.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,10 +58,12 @@ fi set -e +EXTPACK="Oracle_VM_VirtualBox_Extension_Pack" + rm -rf $PKG -mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack $OUTPUT -cd $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack -tar xvf $CWD/Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/$EXTPACK $OUTPUT +cd $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/$EXTPACK +tar xvf $CWD/$EXTPACK-$VERSION.vbox-extpack chown -R root:root . find -L . \ @@ -55,9 +72,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +# Cleanup superfluous platforms. Although the platforms are kept when you install +# the extpack over the menu manually, I don't really see the need for it. -HW +rm -rf win.* darwin.* solaris.* +if [ "$ARCH" = "x86_64" ]; then + rm -rf linux.x86 +else + rm -rf linux.amd64 +fi + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack-license.txt \ + $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/ExtensionPacks/$EXTPACK/ExtPack-license.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/virtualbox-extension-pack/virtualbox-extension-pack.info b/system/virtualbox-extension-pack/virtualbox-extension-pack.info index 3fa7fa8ccad39..c5e516f6798f1 100644 --- a/system/virtualbox-extension-pack/virtualbox-extension-pack.info +++ b/system/virtualbox-extension-pack/virtualbox-extension-pack.info @@ -1,8 +1,8 @@ PRGNAM="virtualbox-extension-pack" -VERSION="4.2.10" +VERSION="4.3.10" HOMEPAGE="http://www.virtualbox.org" -DOWNLOAD="http://download.virtualbox.org/virtualbox/4.2.10/Oracle_VM_VirtualBox_Extension_Pack-4.2.10.vbox-extpack" -MD5SUM="8531d8aa584829496ce825cee43b9db5" +DOWNLOAD="http://download.virtualbox.org/virtualbox/4.3.10/Oracle_VM_VirtualBox_Extension_Pack-4.3.10.vbox-extpack" +MD5SUM="25b70fa71d9320e2836b9be138457ee0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |