system/virtualbox-ose: Updated for version 3.1.4.

This commit is contained in:
Heinz Wiesinger 2010-03-15 22:01:23 -05:00 committed by Erik Hanson
parent e8ca28dd7a
commit 9bbe870438
2 changed files with 18 additions and 13 deletions

View file

@ -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

View file

@ -1,14 +1,14 @@
PRGNAM="virtualbox-ose"
VERSION="3.1.2"
VERSION="3.1.4"
HOMEPAGE="http://www.virtualbox.org"
DOWNLOAD="http://download.virtualbox.org/virtualbox/3.1.2/VirtualBox-3.1.2-OSE.tar.bz2 \
http://download.virtualbox.org/virtualbox/3.1.2/VBoxGuestAdditions_3.1.2.iso \
http://download.virtualbox.org/virtualbox/3.1.2/UserManual.pdf"
MD5SUM="e7808f16114f5b1a65aa2df1aa33e1a7 \
d1ac5c53fb889338849134e07a6bc16f \
052357bb684515035b3e561b35a1d6f2"
DOWNLOAD="http://download.virtualbox.org/virtualbox/3.1.4/VirtualBox-3.1.4-OSE.tar.bz2 \
http://download.virtualbox.org/virtualbox/3.1.4/VBoxGuestAdditions_3.1.4.iso \
http://download.virtualbox.org/virtualbox/3.1.4/UserManual.pdf"
MD5SUM="d32066cb9ebfa4930a2c5ad6227de26f \
2f203836d5168d391ca2fae81e1c52fc \
4ceede379f68905b0a0d87c11a22b0e4"
DOWNLOAD_x86_64="UNTESTED"
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"
APPROVED="Erik Hanson"