wok rev 12978

Up: qemu (1.0.1) With verstil support so sta can be tested :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 02 01:58:04 2012 +0200 (2012-06-02)
parents 8791d537f797
children b51cca15f344
files qemu-arm/receipt qemu-light/receipt qemu-mips/receipt qemu-ppc/receipt qemu-x86_64/receipt qemu/receipt
line diff
     1.1 --- a/qemu-arm/receipt	Sat Jun 02 01:56:33 2012 +0200
     1.2 +++ b/qemu-arm/receipt	Sat Jun 02 01:58:04 2012 +0200
     1.3 @@ -1,11 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="qemu-arm"
     1.7 -VERSION="0.12.5"
     1.8 +VERSION="1.0.1"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="General-purpose full virtualizer for ARM hardware."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 -WEB_SITE="http://www.nongnu.org/qemu/"
    1.13 +WEB_SITE="http://qemu.org"
    1.14  DEPENDS="qemu"
    1.15  TAGS="virtualization"
    1.16  WANTED="qemu"
    1.17 @@ -13,6 +13,7 @@
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/bin 
    1.22 -	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    1.23 +	mkdir -p $fs/usr/bin
    1.24 +	cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    1.25 +	cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
    1.26  }
     2.1 --- a/qemu-light/receipt	Sat Jun 02 01:56:33 2012 +0200
     2.2 +++ b/qemu-light/receipt	Sat Jun 02 01:58:04 2012 +0200
     2.3 @@ -1,19 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="qemu-light"
     2.7 -VERSION="0.12.5"
     2.8 +VERSION="1.0.1"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  SOURCE="qemu"
    2.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://www.qemu.org/"
    2.15 -WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
    2.16 +WGET_URL="http://wiki.qemu.org/download/$TARBALL"
    2.17  TAGS="virtualization"
    2.18  CONFLICT="qemu"
    2.19  
    2.20  DEPENDS="alsa-lib libsdl util-linux-uuid"
    2.21 -BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev"
    2.22 +BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \
    2.23 +libgio-dev glib-dev"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27 @@ -29,7 +30,6 @@
    2.28  		--disable-bluez \
    2.29  		--disable-curses \
    2.30  		--disable-vde \
    2.31 -		--enable-io-thread \
    2.32  		--audio-drv-list=alsa \
    2.33  		--target-list="$TARGET" \
    2.34  		--cc=$BUILD_SYSTEM-gcc &&
    2.35 @@ -46,4 +46,6 @@
    2.36  	do
    2.37  		cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
    2.38  	done
    2.39 +	# Create qemu symlink
    2.40 +	cd $fs/usr/bin && ln -s qemu-system-i386 qemu
    2.41  }
     3.1 --- a/qemu-mips/receipt	Sat Jun 02 01:56:33 2012 +0200
     3.2 +++ b/qemu-mips/receipt	Sat Jun 02 01:58:04 2012 +0200
     3.3 @@ -1,11 +1,11 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="qemu-mips"
     3.7 -VERSION="0.12.5"
     3.8 +VERSION="1.0.1"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="General-purpose full virtualizer for MIPS hardware."
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12 -WEB_SITE="http://www.nongnu.org/qemu/"
    3.13 +WEB_SITE="http://qemu.org"
    3.14  DEPENDS="qemu"
    3.15  TAGS="virtualization"
    3.16  WANTED="qemu"
    3.17 @@ -13,6 +13,7 @@
    3.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.19  genpkg_rules()
    3.20  {
    3.21 -	mkdir -p $fs/usr/bin 
    3.22 -	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    3.23 +	mkdir -p $fs/usr/bin
    3.24 +	cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    3.25 +	cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
    3.26  }
     4.1 --- a/qemu-ppc/receipt	Sat Jun 02 01:56:33 2012 +0200
     4.2 +++ b/qemu-ppc/receipt	Sat Jun 02 01:58:04 2012 +0200
     4.3 @@ -1,11 +1,11 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="qemu-ppc"
     4.7 -VERSION="0.12.5"
     4.8 +VERSION="1.0.1"
     4.9  CATEGORY="misc"
    4.10  SHORT_DESC="General-purpose full virtualizer for PowerPC hardware."
    4.11  MAINTAINER="erjo@slitaz.org"
    4.12 -WEB_SITE="http://www.nongnu.org/qemu/"
    4.13 +WEB_SITE="http://qemu.org"
    4.14  DEPENDS="qemu"
    4.15  TAGS="virtualization"
    4.16  WANTED="qemu"
    4.17 @@ -14,5 +14,6 @@
    4.18  genpkg_rules()
    4.19  {
    4.20  	mkdir -p $fs/usr/bin $fs/usr/share/qemu
    4.21 -	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    4.22 +	cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    4.23 +	cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
    4.24  }
     5.1 --- a/qemu-x86_64/receipt	Sat Jun 02 01:56:33 2012 +0200
     5.2 +++ b/qemu-x86_64/receipt	Sat Jun 02 01:58:04 2012 +0200
     5.3 @@ -1,11 +1,11 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="qemu-x86_64"
     5.7 -VERSION="0.12.5"
     5.8 +VERSION="1.0.1"
     5.9  CATEGORY="misc"
    5.10  SHORT_DESC="General-purpose full virtualizer for X86_64 CPU."
    5.11  MAINTAINER="erjo@slitaz.org"
    5.12 -WEB_SITE="http://www.nongnu.org/qemu/"
    5.13 +WEB_SITE="http://qemu.org"
    5.14  DEPENDS="qemu"
    5.15  TAGS="virtualization"
    5.16  WANTED="qemu"
    5.17 @@ -13,6 +13,8 @@
    5.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.19  genpkg_rules()
    5.20  {
    5.21 -	mkdir -p $fs/usr/bin 
    5.22 -	cp -a $_pkg/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    5.23 +	mkdir -p $fs/usr/bin $fs/etc
    5.24 +	cp -a $install/etc/qemu $fs/etc
    5.25 +	cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    5.26 +	cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
    5.27  }
     6.1 --- a/qemu/receipt	Sat Jun 02 01:56:33 2012 +0200
     6.2 +++ b/qemu/receipt	Sat Jun 02 01:58:04 2012 +0200
     6.3 @@ -1,19 +1,19 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="qemu"
     6.7 -VERSION="0.12.5"
     6.8 +VERSION="1.0.1"
     6.9  CATEGORY="misc"
    6.10  SHORT_DESC="General-purpose full virtualizer for x86 hardware."
    6.11  MAINTAINER="pascal.bellard@slitaz.org"
    6.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.13 -WEB_SITE="http://www.nongnu.org/qemu/"
    6.14 -WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
    6.15 +WEB_SITE="http://qemu.org"
    6.16 +WGET_URL="http://wiki.qemu.org/download/$TARBALL"
    6.17  TAGS="virtualization"
    6.18  
    6.19  DEPENDS="alsa-lib gnutls libsdl bluez libtasn1 libsasl vde2 libcurl \
    6.20 -attr util-linux-uuid"
    6.21 +attr util-linux-uuid libgio glib"
    6.22  BUILD_DEPENDS="gettext perl alsa-lib-dev gnutls-dev libsdl-dev bluez-dev \
    6.23 -libtasn1-dev vde2-dev curl-dev attr-dev util-linux-uuid-dev"
    6.24 +libtasn1-dev vde2-dev curl-dev attr-dev util-linux-uuid-dev libgio-dev glib-dev"
    6.25  
    6.26  # Rules to configure and make the package.
    6.27  compile_rules()
    6.28 @@ -22,10 +22,11 @@
    6.29  
    6.30  	TARGET="i386-softmmu, x86_64-softmmu, \
    6.31  	arm-softmmu, ppc-softmmu, mips-softmmu"
    6.32 -	
    6.33 +
    6.34  	#--cross-prefix= --host-cc=
    6.35  	./configure \
    6.36  		--prefix=/usr \
    6.37 +		--sysconfdir=/etc \
    6.38  		--enable-sdl \
    6.39  		--audio-drv-list=alsa,oss \
    6.40  		--target-list="$TARGET" \
    6.41 @@ -38,20 +39,21 @@
    6.42  {
    6.43  	mkdir -p $fs/usr/bin $fs/usr/share
    6.44  
    6.45 -	# Ther is /etc/qemu in 0.14.1
    6.46 -	#cp -a $_pkg/etc $fs
    6.47 -	
    6.48 -	cp -a $_pkg/usr/bin/qemu $fs/usr/bin
    6.49 -	cp -a $_pkg/usr/bin/qemu-io $fs/usr/bin
    6.50 -	cp -a $_pkg/usr/bin/qemu-img $fs/usr/bin
    6.51 -	cp -a $_pkg/usr/bin/qemu-nbd $fs/usr/bin
    6.52 -	
    6.53 -	cp -a $_pkg/usr/share/qemu $fs/usr/share
    6.54 -	
    6.55 -	# move softmmu to separate packages.
    6.56 -	#rm -f $fs/usr/bin/qemu-system*
    6.57 -	
    6.58 +	# /etc/qemu is for x86_64
    6.59 +	#cp -a $install/etc $fs
    6.60 +
    6.61 +	cp -a $install/usr/bin/qemu-*-i386 $fs/usr/bin
    6.62 +	cp -a $install/usr/bin/qemu-ga $fs/usr/bin
    6.63 +	cp -a $install/usr/bin/qemu-io $fs/usr/bin
    6.64 +	cp -a $install/usr/bin/qemu-img $fs/usr/bin
    6.65 +	cp -a $install/usr/bin/qemu-nbd $fs/usr/bin
    6.66 +
    6.67 +	cp -a $install/usr/share/qemu $fs/usr/share
    6.68 +
    6.69  	# Remove unneeded bios binaries
    6.70  	rm -f $fs/usr/share/qemu/*ppc*
    6.71  	rm -f $fs/usr/share/qemu/*sparc*
    6.72 +
    6.73 +	# Create qemu symlink
    6.74 +	cd $fs/usr/bin && ln -s qemu-system-i386 $PACKAGE
    6.75  }