wok-undigest view qemu/receipt @ rev 12

Add PPC and ARM support to qemu
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 20 10:34:09 2010 +0100 (2010-03-20)
parents
children af94a8b30fdb
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu"
4 VERSION="0.12.3"
5 CATEGORY="misc"
6 SHORT_DESC="General-purpose full virtualizer for x86 hardware."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nongnu.org/qemu/"
10 WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
11 BUILD_DEPENDS="alsa-lib-dev gettext libsdl-dev"
12 DEPENDS="alsa-lib gnutls libsdl zlib bluez libtasn1"
13 TAGS="virtualization"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # From 0.10.0 VirtIO paravirtual device are supported.
21 #[ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u
22 #touch done.virtio.u
24 #./configure --prefix=/usr --enable-alsa --disable-gfx-check
26 ./configure \
27 --prefix=/usr \
28 --disable-curl \
29 --target-list="i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu" &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $_pkg/usr $fs
39 # move softmmu to separate packages.
40 rm -f $fs/usr/bin/qemu-system*
42 # Remove unneeded bios binaries
43 rm -f $fs/usr/share/qemu/*ppc*
44 rm -f $fs/usr/share/qemu/*sparc*
47 }