wok-current rev 8715

Up: virtualbox-ose to 4.0.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 18 00:49:15 2011 +0000 (2011-02-18)
parents 54f207d7535f
children 86fe5649244d
files virtualbox-ose/receipt
line diff
     1.1 --- a/virtualbox-ose/receipt	Thu Feb 17 19:02:25 2011 +0000
     1.2 +++ b/virtualbox-ose/receipt	Fri Feb 18 00:49:15 2011 +0000
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="virtualbox-ose"
     1.7 -VERSION="4.0.2"
     1.8 +VERSION="4.0.4"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 -DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl xorg-libXmu curl libvncserver libpng jpeg mesa libglu-mesa qt4"
    1.13 -BUILD_DEPENDS="bin86 dev86 iasl libxslt-dev libxml2-dev xorg-libXcursor-dev Qt4-dev libIDL libsdl-ttf-dev libsdl-dev alsa-lib-dev hal-dev xorg-libXtst-dev xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXmu-dev curl-dev python python-dev mesa-dev libglu-mesa xalan-c xalan-c-dev xerces-c-dev openssl-dev libpng-dev jpeg-dev zlib-dev libvncserver-dev libcap-dev glib-dev pam pam-dev bzip2 linux-module-headers pkg-config"
    1.14 +DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl xorg-libXmu curl libvncserver libpng jpeg mesa libglu-mesa qt4 vde2"
    1.15 +BUILD_DEPENDS="bin86 dev86 iasl libxslt-dev libxml2-dev xorg-libXcursor-dev Qt4-dev libsdl-ttf-dev libsdl-dev alsa-lib-dev hal-dev xorg-libXtst-dev xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXmu-dev curl-dev python python-dev mesa-dev libglu-mesa xalan-c xalan-c-dev xerces-c-dev openssl-dev libpng-dev jpeg-dev zlib-dev libvncserver-dev libcap-dev glib-dev pam pam-dev bzip2 linux-module-headers pkg-config tar"
    1.16  SOURCE="VirtualBox"
    1.17  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18  WEB_SITE="http://virtualbox.org/"
    1.19 @@ -15,17 +15,16 @@
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	stuff=$WOK/$PACKAGE/stuff
    1.24  	cd $src
    1.25  	patch -Np1 -i "$stuff/virtualbox-4-makeself-check.patch"
    1.26 -    patch -Np1 -i "$stuff/virtualbox-4-mkisofs-check.patch"
    1.27 -	[ -L /bin/tar ] && tazpkg get-install tar --forced
    1.28 -	cp ../stuff/LocalConfig.kmk .
    1.29 +	patch -Np1 -i "$stuff/virtualbox-4-mkisofs-check.patch"
    1.30 +	cp $stuff/LocalConfig.kmk .
    1.31  	./configure \
    1.32  		--disable-pulse \
    1.33  		--disable-java \
    1.34  		--disable-docs \
    1.35  		--enable-webservice \
    1.36 +		--enable-vde \
    1.37  		--with-linux=/usr/src/linux
    1.38  	source ./env.sh
    1.39  	kmk all
    1.40 @@ -42,43 +41,51 @@
    1.41  genpkg_rules()
    1.42  {
    1.43  	fs=$WOK/$PACKAGE/taz/$PACKAGE-$VERSION/fs
    1.44 -	stuff=$WOK/$PACKAGE/stuff
    1.45  
    1.46  	source $src/env.sh
    1.47  	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
    1.48  	mkdir -p $fs/usr/bin $fs/usr/lib/virtualbox/components \
    1.49 -			$fs/usr/share/virtualbox/nls
    1.50 -	cp -a VBox.sh $fs/usr/bin/VBox
    1.51 +			$fs/usr/share/virtualbox/nls \
    1.52 +			$fs/usr/lib/virtualbox/ExtensionPacks
    1.53 +	install -m 0755 VBox.sh $fs/usr/bin/VBox
    1.54  	sed -i 's/ps -U/ps | grep/' $fs/usr/bin/VBox
    1.55  	ln -sf VBox $fs/usr/bin/VBoxHeadless
    1.56 +	ln -sf VBox $fs/usr/bin/vboxheadless
    1.57  	ln -sf VBox $fs/usr/bin/VBoxManage
    1.58 +	ln -sf VBox $fs/usr/bin/vboxmanage
    1.59  	ln -sf VBox $fs/usr/bin/VBoxSDL
    1.60 +	ln -sf VBox $fs/usr/bin/vboxsdl
    1.61  	ln -sf VBox $fs/usr/bin/VirtualBox
    1.62 +	ln -sf VBox $fs/usr/bin/virtualbox
    1.63 +	ln -sf VBox $fs/usr/bin/vboxwebsrv
    1.64  
    1.65  	install -m 0755 VBoxTunctl "$fs/usr/bin"
    1.66  
    1.67  	# components
    1.68 -	cp -a components/* $fs/usr/lib/virtualbox/components
    1.69 +	install -D -m 0755 components/* $fs/usr/lib/virtualbox/components
    1.70  
    1.71  	# lib
    1.72  	install -m 0755 *.so "$fs/usr/lib/virtualbox"
    1.73  	install -m 0644 *.gc *.r0  VBoxEFI*.fd "$fs/usr/lib/virtualbox"
    1.74  	
    1.75  	#setuid root binaries
    1.76 -	install -m 4755 VBoxHeadless VBoxSDL VBoxNetDHCP VBoxNetAdpCtl VirtualBox VBoxBFE "$fs/usr/lib/virtualbox"
    1.77 +	install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl  "$fs/usr/lib/virtualbox"
    1.78  	
    1.79  	#other binaries
    1.80 -	install -m 0755 VBoxManage VBoxSVC VBoxXPCOMIPCD VBoxSysInfo.sh xpidl \
    1.81 -                    VBoxTestOGL EfiThunk "$fs/usr/lib/virtualbox"
    1.82 +	install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest "$fs/usr/lib/virtualbox"
    1.83  
    1.84  	#language
    1.85  	install -m 0755 nls/*.qm "$fs/usr/share/virtualbox/nls"
    1.86 +	
    1.87 +	#useless scripts
    1.88 +	install -m 0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh "$fs/usr/share/virtualbox"
    1.89  
    1.90  	#icon
    1.91  	install -D -m 0644 VBox.png "$fs/usr/share/pixmaps/VBox.png"
    1.92  
    1.93  	#desktop
    1.94  	install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop"
    1.95 +	install -D -m 0644 virtualbox.xml "$fs/usr/share/mime/packages/virtualbox.xml"
    1.96  
    1.97  	#install configuration
    1.98  	mkdir -p "$fs/etc/vbox"