wok-stable rev 10623

qemu: back to a working version (0.12.5)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 21:20:55 2011 +0200 (2011-05-26)
parents cf214eecc1b5
children 3ef83dc65ac4
files qemu-arm/receipt qemu-mips/receipt qemu-ppc/receipt qemu-x86_64/receipt qemu/receipt
line diff
     1.1 --- a/qemu-arm/receipt	Thu May 26 21:13:40 2011 +0200
     1.2 +++ b/qemu-arm/receipt	Thu May 26 21:20:55 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="qemu-arm"
     1.7 -VERSION="0.14.1"
     1.8 +VERSION="0.12.5"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="General-purpose full virtualizer for ARM hardware."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -16,4 +16,3 @@
    1.13  	mkdir -p $fs/usr/bin 
    1.14  	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    1.15  }
    1.16 -
     2.1 --- a/qemu-mips/receipt	Thu May 26 21:13:40 2011 +0200
     2.2 +++ b/qemu-mips/receipt	Thu May 26 21:20:55 2011 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="qemu-mips"
     2.7 -VERSION="0.14.1"
     2.8 +VERSION="0.12.5"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="General-purpose full virtualizer for MIPS hardware."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12 @@ -16,4 +16,3 @@
    2.13  	mkdir -p $fs/usr/bin 
    2.14  	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    2.15  }
    2.16 -
     3.1 --- a/qemu-ppc/receipt	Thu May 26 21:13:40 2011 +0200
     3.2 +++ b/qemu-ppc/receipt	Thu May 26 21:20:55 2011 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="qemu-ppc"
     3.7 -VERSION="0.14.1"
     3.8 +VERSION="0.12.5"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="General-purpose full virtualizer for PowerPC hardware."
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12 @@ -14,10 +14,5 @@
    3.13  genpkg_rules()
    3.14  {
    3.15  	mkdir -p $fs/usr/bin $fs/usr/share/qemu
    3.16 -	
    3.17  	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    3.18 -	cp -a $_pkg/usr/share/qemu/*${PACKAGE#qemu-}* $fs/usr/share/qemu
    3.19  }
    3.20 -
    3.21 -
    3.22 -
     4.1 --- a/qemu-x86_64/receipt	Thu May 26 21:13:40 2011 +0200
     4.2 +++ b/qemu-x86_64/receipt	Thu May 26 21:20:55 2011 +0200
     4.3 @@ -15,6 +15,4 @@
     4.4  {
     4.5  	mkdir -p $fs/usr/bin 
     4.6  	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
     4.7 -	
     4.8  }
     4.9 -
     5.1 --- a/qemu/receipt	Thu May 26 21:13:40 2011 +0200
     5.2 +++ b/qemu/receipt	Thu May 26 21:20:55 2011 +0200
     5.3 @@ -1,37 +1,36 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="qemu"
     5.7 -VERSION="0.14.1"
     5.8 +VERSION="0.12.5"
     5.9  CATEGORY="misc"
    5.10  SHORT_DESC="General-purpose full virtualizer for x86 hardware."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.13  WEB_SITE="http://www.nongnu.org/qemu/"
    5.14  WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
    5.15 -BUILD_DEPENDS="gettext perl"
    5.16 -DEPENDS="alsa-lib gnutls libsdl zlib bluez libtasn1 libsasl vde2"
    5.17  TAGS="virtualization"
    5.18  
    5.19 +DEPENDS="alsa-lib gnutls libsdl bluez libtasn1 libsasl vde2 libcurl \
    5.20 +attr util-linux-ng-uuid"
    5.21 +BUILD_DEPENDS="gettext perl alsa-lib-dev gnutls-dev libsdl-dev bluez-dev \
    5.22 +libtasn1-dev libsasl-dev vde2-dev curl-dev attr-dev util-linux-ng-uuid-dev"
    5.23 +
    5.24  # Rules to configure and make the package.
    5.25  compile_rules()
    5.26  {
    5.27  	cd $src
    5.28  
    5.29 -	TARGET="i386-softmmu,i386-linux-user, \
    5.30 -	x86_64-softmmu,x86_64-linux-user, \
    5.31 -	arm-softmmu,arm-linux-user, \
    5.32 -	ppc-softmmu,ppc-linux-user, \
    5.33 -	mips-softmmu,mips-linux-user"
    5.34 +	TARGET="i386-softmmu, x86_64-softmmu, \
    5.35 +	arm-softmmu, ppc-softmmu, mips-softmmu"
    5.36  	
    5.37 -		./configure \
    5.38 +	#--cross-prefix= --host-cc=
    5.39 +	./configure \
    5.40  		--prefix=/usr \
    5.41 -		--disable-curl \
    5.42 -		--enable-system \
    5.43 -		--enable-user \
    5.44 -		--enable-linux-user \
    5.45 -		--target-list="$TARGET"&&
    5.46 -	make &&
    5.47 -	make DESTDIR=$PWD/_pkg install
    5.48 +		--enable-sdl \
    5.49 +		--audio-drv-list=alsa,oss \
    5.50 +		--target-list="$TARGET" \
    5.51 +		--cc=$BUILD_SYSTEM-gcc &&
    5.52 +	make && make DESTDIR=$DESTDIR install
    5.53  }
    5.54  
    5.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.56 @@ -39,6 +38,8 @@
    5.57  {
    5.58  	mkdir -p $fs/usr/bin $fs/usr/share
    5.59  	
    5.60 +	cp -a $_pkg/etc $fs
    5.61 +	
    5.62  	cp -a $_pkg/usr/bin/qemu $fs/usr/bin
    5.63  	cp -a $_pkg/usr/bin/qemu-io $fs/usr/bin
    5.64  	cp -a $_pkg/usr/bin/qemu-img $fs/usr/bin
    5.65 @@ -47,7 +48,7 @@
    5.66  	cp -a $_pkg/usr/share/qemu $fs/usr/share
    5.67  	
    5.68  	# move softmmu to separate packages.
    5.69 -	rm -f $fs/usr/bin/qemu-system*
    5.70 +	#rm -f $fs/usr/bin/qemu-system*
    5.71  	
    5.72  	# Remove unneeded bios binaries
    5.73  	rm -f $fs/usr/share/qemu/*ppc*