wok-6.x diff qemu/receipt @ rev 13004
Up: scite to 3.2.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jun 06 10:23:26 2012 +0000 (2012-06-06) |
parents | 73641efed1cc |
children | c70a6613800f |
line diff
1.1 --- a/qemu/receipt Mon Apr 23 16:30:27 2012 +0200 1.2 +++ b/qemu/receipt Wed Jun 06 10:23:26 2012 +0000 1.3 @@ -1,19 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="qemu" 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 x86 hardware." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 -WEB_SITE="http://www.nongnu.org/qemu/" 1.14 -WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL" 1.15 +WEB_SITE="http://qemu.org" 1.16 +WGET_URL="http://wiki.qemu.org/download/$TARBALL" 1.17 TAGS="virtualization" 1.18 1.19 DEPENDS="alsa-lib gnutls libsdl bluez libtasn1 libsasl vde2 libcurl \ 1.20 -attr util-linux-uuid" 1.21 +attr util-linux-uuid libgio glib" 1.22 BUILD_DEPENDS="gettext perl alsa-lib-dev gnutls-dev libsdl-dev bluez-dev \ 1.23 -libtasn1-dev vde2-dev curl-dev attr-dev util-linux-uuid-dev" 1.24 +libtasn1-dev vde2-dev curl-dev attr-dev util-linux-uuid-dev libgio-dev glib-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 @@ -22,10 +22,11 @@ 1.29 1.30 TARGET="i386-softmmu, x86_64-softmmu, \ 1.31 arm-softmmu, ppc-softmmu, mips-softmmu" 1.32 - 1.33 + 1.34 #--cross-prefix= --host-cc= 1.35 ./configure \ 1.36 --prefix=/usr \ 1.37 + --sysconfdir=/etc \ 1.38 --enable-sdl \ 1.39 --audio-drv-list=alsa,oss \ 1.40 --target-list="$TARGET" \ 1.41 @@ -38,20 +39,21 @@ 1.42 { 1.43 mkdir -p $fs/usr/bin $fs/usr/share 1.44 1.45 - # Ther is /etc/qemu in 0.14.1 1.46 - #cp -a $_pkg/etc $fs 1.47 - 1.48 - cp -a $_pkg/usr/bin/qemu $fs/usr/bin 1.49 - cp -a $_pkg/usr/bin/qemu-io $fs/usr/bin 1.50 - cp -a $_pkg/usr/bin/qemu-img $fs/usr/bin 1.51 - cp -a $_pkg/usr/bin/qemu-nbd $fs/usr/bin 1.52 - 1.53 - cp -a $_pkg/usr/share/qemu $fs/usr/share 1.54 - 1.55 - # move softmmu to separate packages. 1.56 - #rm -f $fs/usr/bin/qemu-system* 1.57 - 1.58 + # /etc/qemu is for x86_64 1.59 + #cp -a $install/etc $fs 1.60 + 1.61 + cp -a $install/usr/bin/qemu-*-i386 $fs/usr/bin 1.62 + cp -a $install/usr/bin/qemu-ga $fs/usr/bin 1.63 + cp -a $install/usr/bin/qemu-io $fs/usr/bin 1.64 + cp -a $install/usr/bin/qemu-img $fs/usr/bin 1.65 + cp -a $install/usr/bin/qemu-nbd $fs/usr/bin 1.66 + 1.67 + cp -a $install/usr/share/qemu $fs/usr/share 1.68 + 1.69 # Remove unneeded bios binaries 1.70 rm -f $fs/usr/share/qemu/*ppc* 1.71 rm -f $fs/usr/share/qemu/*sparc* 1.72 + 1.73 + # Create qemu symlink 1.74 + cd $fs/usr/bin && ln -s qemu-system-i386 $PACKAGE 1.75 }