diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-10-30 21:36:44 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 21:59:29 -0200 |
commit | 029b68989a5ce7d402177631e5375a274fb06fc9 (patch) | |
tree | e97b01744c9f193e7d99906b0a1854dd2df3b1ed /system/virtualbox/virtualbox.SlackBuild | |
parent | f285e922d881e386d894e4945b5987e8738f0930 (diff) | |
download | slackbuilds-029b68989a5ce7d402177631e5375a274fb06fc9.tar.gz |
system/virtualbox: Updated for version 4.1.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r-- | system/virtualbox/virtualbox.SlackBuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild index 25e5cf8155..2ce1b7070d 100644 --- a/system/virtualbox/virtualbox.SlackBuild +++ b/system/virtualbox/virtualbox.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=virtualbox SRCNAM=VirtualBox -VERSION=4.0.8 +VERSION=4.1.4 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -120,6 +120,9 @@ fi # Patch taken from gentoo patch -p1 -i $CWD/virtualbox-4-makeself-check.patch +# building the vboxpci kernel module is not disabled by --disable-kmods +patch -d src/VBox/HostDrivers/VBoxPci -i $CWD/vbox-disable_vboxpci_build.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -144,12 +147,14 @@ mkdir -p $PKG/usr/{lib$LIBDIRSUFFIX,share,include}/virtualbox \ $PKG/usr/share/{pixmaps,mime/packages} \ $PKG/etc/{default,rc.d,vbox} -cp -f src/VBox/Installer/linux/vboxdrv.sh.in $PKG/etc/rc.d/rc.vboxdrv.new -sed -i "s/%PACKAGE%/virtualbox/g" $PKG/etc/rc.d/rc.vboxdrv.new -sed -i "s/%NOLSB%/yes/" $PKG/etc/rc.d/rc.vboxdrv.new -sed -i "s/%DEBIAN%/no/" $PKG/etc/rc.d/rc.vboxdrv.new -sed -i "s/%GROUP%/vboxusers/" $PKG/etc/rc.d/rc.vboxdrv.new -sed -i "s/\[ -z \"\$DEBIAN\"/#\[ -z \"\$DEBIAN\"/" $PKG/etc/rc.d/rc.vboxdrv.new +for i in vboxdrv vboxballoonctrl-service; do + cp -f src/VBox/Installer/linux/$i.sh.in $PKG/etc/rc.d/rc.$i.new + sed -i "s/%PACKAGE%/virtualbox/g" $PKG/etc/rc.d/rc.$i.new + sed -i "s/%NOLSB%/yes/" $PKG/etc/rc.d/rc.$i.new + sed -i "s/%DEBIAN%/no/" $PKG/etc/rc.d/rc.$i.new + sed -i "s/%GROUP%/vboxusers/" $PKG/etc/rc.d/rc.$i.new + sed -i "s/\[ -z \"\$DEBIAN\"/#\[ -z \"\$DEBIAN\"/" $PKG/etc/rc.d/rc.$i.new +done cp -f $CWD/vbox.cfg $PKG/etc/vbox/vbox.cfg.new sed -i "s|LIBDIR|lib$LIBDIRSUFFIX|" $PKG/etc/vbox/vbox.cfg.new @@ -196,7 +201,8 @@ cd out/linux.$BUILDDIR/release/bin/ mv $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/VBox.sh $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/VBox cd $TMP/$SRCNAM-${VERSION}_OSE -for i in VBoxManage vboxmanage VBoxSDL vboxsdl VBoxHeadless vboxheadless VBoxVRDP $guiapp $vboxwebsrv; do +for i in VBoxManage vboxmanage VBoxSDL vboxsdl VBoxHeadless \ + vboxheadless VBoxVRDP VBoxBalloonCtrl $guiapp $vboxwebsrv; do ln -s /usr/lib$LIBDIRSUFFIX/virtualbox/VBox $PKG/usr/bin/$i done |