wok-current rev 7814

Up: virtualbox-ose to 4.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Dec 24 22:11:36 2010 +0000 (2010-12-24)
parents 9a591e946b0d
children f2cefbc28847
files virtualbox-ose/receipt
line diff
     1.1 --- a/virtualbox-ose/receipt	Fri Dec 24 19:57:39 2010 +0000
     1.2 +++ b/virtualbox-ose/receipt	Fri Dec 24 22:11:36 2010 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="virtualbox-ose"
     1.7 -VERSION="3.2.12"
     1.8 +VERSION="4.0.0"
     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 linux-module-headers pkg-config"
    1.14 +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 cdrkit bzip2 linux-module-headers makeself pkg-config"
    1.15  SOURCE="VirtualBox"
    1.16 -TARBALL="$SOURCE-$VERSION-OSE.tar.bz2"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18  WEB_SITE="http://virtualbox.org/"
    1.19  WGET_URL="http://download.virtualbox.org/virtualbox/$VERSION/$TARBALL"
    1.20  
    1.21 @@ -17,24 +17,22 @@
    1.22  {
    1.23  	src=$WOK/$PACKAGE/$SOURCE-${VERSION}_OSE
    1.24  	cd $src
    1.25 -
    1.26 -	patch -Np1 -i ../stuff/VirtualBox-3.2.0-gcc-4.5-warning-workaround.patch
    1.27 -	patch -Np1 -i ../stuff/fix_build.patch
    1.28 +	[ -L /bin/tar ] && tazpkg get-install tar --forced
    1.29  	cp ../stuff/LocalConfig.kmk .
    1.30  	./configure \
    1.31  		--disable-pulse \
    1.32 +		--disable-java \
    1.33 +		--disable-docs \
    1.34  		--with-linux=/usr/src/linux
    1.35  	source ./env.sh
    1.36  	kmk all
    1.37  
    1.38  	# build modules
    1.39 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src
    1.40 -	KERN_DIR=/usr/src/linux make
    1.41 +	cd 
    1.42 +	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
    1.43  	# build guest additions modules
    1.44 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src
    1.45 -	KERN_DIR=/usr/src/linux make
    1.46 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src/vboxvideo
    1.47 -	KERN_DIR=/usr/src/linux make
    1.48 +	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
    1.49 +	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src/vboxvideo"
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.