diff options
Diffstat (limited to 'system/virtualbox-ose/virtualbox-ose.SlackBuild')
-rw-r--r-- | system/virtualbox-ose/virtualbox-ose.SlackBuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/system/virtualbox-ose/virtualbox-ose.SlackBuild b/system/virtualbox-ose/virtualbox-ose.SlackBuild index 7973951330..19fcc98cf0 100644 --- a/system/virtualbox-ose/virtualbox-ose.SlackBuild +++ b/system/virtualbox-ose/virtualbox-ose.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=virtualbox-ose SRCNAM=VirtualBox -VERSION=3.1.6 +VERSION=3.2.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -110,6 +110,9 @@ else guiapp="" fi +# Fix issues with newer acpica versions +patch -p0 -i $CWD/patch-src-VBox-Devices-PC-vbox.dsl + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -148,7 +151,7 @@ cd out/linux.$BUILDDIR/release/bin/ mv src $PKG/usr/src/virtualbox-kernel-$VERSION mv sdk $PKG/usr/share/virtualbox/ if [ "${QT4:-yes}" = "yes" ]; then - mv nls* *.tar.gz $PKG/usr/share/virtualbox/ + mv nls* *.tar.bz2 $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/ @@ -179,6 +182,20 @@ cp -f $CWD/VBoxGuestAdditions_$VERSION.iso \ cp -f $CWD/UserManual.pdf \ $PKG/usr/share/virtualbox/UserManual.pdf +# install profile.d scripts for 3rd party apps +mkdir -p $PKG/etc/profile.d/ +cat << EOF > $PKG/etc/profile.d/vbox.csh +#!/bin/csh +setenv VBOX_PROGRAM_PATH /usr/lib${LIBDIRSUFFIX}/virtualbox/ +setenv VBOX_SDK_PATH /usr/share/virtualbox/sdk/ +EOF +cat << EOF > $PKG/etc/profile.d/vbox.sh +#!/bin/sh +export VBOX_PROGRAM_PATH=/usr/lib${LIBDIRSUFFIX}/virtualbox/ +export VBOX_SDK_PATH=/usr/share/virtualbox/sdk/ +EOF +chmod 0755 $PKG/etc/profile.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 |