xap/virtualbox-ose: Upgraded to virtualbox-ose-3.1.0.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent 76cea78469
commit ba45d85bf2
  1. 2
      xap/virtualbox-ose/.gitignore
  2. 6
      xap/virtualbox-ose/checksums
  3. 38
      xap/virtualbox-ose/virtualbox-ose.SlackBuild

@ -1,2 +1,2 @@
UserManual.pdf
VBoxGuestAdditions_3.0.4.iso
VBoxGuestAdditions_3.1.0.iso

@ -1,3 +1,3 @@
454f4fbd46a3c7bfa0f6e48eaa37bb578446aca5 VirtualBox-3.0.4-OSE.tar.bz2
cef83248ab71e1ccdcf1a5904ad66cf3b898f928 VBoxGuestAdditions_3.0.4.iso
a63a4353e3d049c0a4ed67159a20c7dab6c32668 UserManual.pdf
fb7c97d692fc8e9973578ef44a848a5988694606 VirtualBox-3.1.0-OSE.tar.bz2
54338892178e55d9d159c132295471429369373d VBoxGuestAdditions_3.1.0.iso
2aabcc8b4616291ed5d0fda60d8f885ea2b7d583 UserManual.pdf

@ -23,7 +23,7 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest virtualbox-ose sourcecode is available at:
# <http://http://www.virtualbox.org/>.
# <http://www.virtualbox.org/>.
#
# Depends: d/iasl
#
@ -40,14 +40,14 @@
# Source package infos
NAMESRC=${NAMESRC:-VirtualBox}
VERSION=${VERSION:-3.0.4}
VERSION=${VERSION:-3.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-OSE.tar.bz2}
GUESTISO=${GUESTISO:-VBoxGuestAdditions_$VERSION.iso}
BASEURL=${BASEURL:-http://download.virtualbox.org/virtualbox/$VERSION}
# Build infos
NAMEPKG=${NAMEPKG:-virtualbox-ose}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -58,15 +58,6 @@ OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
# Build a headless server?
HEADLESS=${HEADLESS:-no}
CONFIGURE_EXTRA_OPTS=""
SYMLINKS="VirtualBox VBoxManage VBoxSDL VBoxHeadless VBoxVRDP"
if [ "x$HEADLESS" = xyes ]; then
CONFIGURE_EXTRA_OPTS="--build-headless"
SYMLINKS="VBoxManage VBoxHeadless VBoxVRDP"
fi
set -e # Quit if a command returns non-zero
# Sanity checks
@ -122,7 +113,7 @@ CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--disable-kmods \
--disable-pulse $CONFIGURE_EXTRA_OPTS
--disable-pulse
. env.sh
sed -e "s,/usr/lib/virtualbox,$LIBDIR," $CWD/LocalConfig.kmk > LocalConfig.kmk
kmk -j ${JOBS} LOCALCFG=LocalConfig.kmk
@ -135,10 +126,9 @@ mkdir -p $PKG/etc/vbox \
$PKG/usr/share/virtualbox \
$PKG/usr/doc/$NAMEPKG-$VERSION \
$PKG/usr/src \
$PKG/usr/share/applications \
$PKG/usr/share/pixmaps \
$PKG/install
if [ "x$HEADLESS" = xno ]; then
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
fi
# Install config file and udev rule
echo "INSTALL_DIR='$LIBDIR'" > $PKG/etc/vbox/vbox.cfg.new
@ -148,15 +138,11 @@ echo 'KERNEL=="vboxdrv", NAME"vboxdrv", OWNER="root", GROUP="vbox", ' \
# Install built files
(
cd out/linux.$ARCHNAME/release/bin
if [ "x$HEADLESS" = xno ]; then
mv VBox.png $PKG/usr/share/pixmaps/
mv nls *.tar.gz $PKG/usr/share/virtualbox/
sed 's,^Doc.*$,DocPath=file:///usr/share/virtualbox/UserManual.pdf,' \
VirtualBox.desktop > $PKG/usr/share/applications/VirtualBox.desktop
rm VirtualBox.desktop
else
rm VBox.png
fi
mv VBox.png $PKG/usr/share/pixmaps/
mv nls *.tar.gz $PKG/usr/share/virtualbox/
sed 's,^Doc.*$,DocPath=file:///usr/share/virtualbox/UserManual.pdf,' \
virtualbox.desktop > $PKG/usr/share/applications/virtualbox.desktop
rm virtualbox.desktop
mv src $PKG/usr/src/virtualbox-kmods-$VERSION
mv sdk $PKG/usr/share/virtualbox/
install -m 750 VBoxSysInfo.sh $PKG/usr/share/virtualbox/
@ -168,7 +154,7 @@ echo 'KERNEL=="vboxdrv", NAME"vboxdrv", OWNER="root", GROUP="vbox", ' \
)
# Create symlinks
for i in $SYMLINKS ; do
for i in VirtualBox VBoxManage VBoxSDL VBoxHeadless VBoxVRDP ; do
ln -s $LIBDIR/VBox $PKG/usr/bin/$i
done

Loading…
Cancel
Save