wok-stable rev 6068
Up: qemu (0.12.5) + Add more plateforme support.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Aug 24 10:48:27 2010 +0200 (2010-08-24) |
parents | 04fee585d774 |
children | f17b04ae2527 |
files | qemu/receipt |
line diff
1.1 --- a/qemu/receipt Sun Aug 22 17:16:10 2010 +0200 1.2 +++ b/qemu/receipt Tue Aug 24 10:48:27 2010 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="qemu" 1.7 -VERSION="0.10.5" 1.8 +VERSION="0.12.5" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="General-purpose full virtualizer for x86 hardware." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -16,16 +16,20 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 + 1.17 + TARGET="i386-softmmu,i386-linux-user, \ 1.18 + x86_64-softmmu,x86_64-linux-user, \ 1.19 + arm-softmmu,arm-linux-user, \ 1.20 + ppc-softmmu,ppc-linux-user, \ 1.21 + mips-softmmu,mips-linux-user" 1.22 1.23 - # From 0.10.0 VirtIO paravirtual device are supported. 1.24 - #[ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u 1.25 - #touch done.virtio.u 1.26 - 1.27 - #./configure --prefix=/usr --enable-alsa --disable-gfx-check 1.28 - 1.29 - ./configure \ 1.30 + ./configure \ 1.31 --prefix=/usr \ 1.32 - --target-list="i386-softmmu,x86_64-softmmu" && 1.33 + --disable-curl \ 1.34 + --enable-system \ 1.35 + --enable-user \ 1.36 + --enable-linux-user \ 1.37 + --target-list="$TARGET"&& 1.38 make && 1.39 make DESTDIR=$PWD/_pkg install 1.40 } 1.41 @@ -33,5 +37,19 @@ 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - cp -a $_pkg/usr $fs 1.46 + mkdir -p $fs/usr/bin $fs/usr/share 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 + # Remove unneeded bios binaries 1.59 + rm -f $fs/usr/share/qemu/*ppc* 1.60 + rm -f $fs/usr/share/qemu/*sparc* 1.61 }