wok view qemu/receipt @ rev 11224

Add from wok-undigest: micro_proxy moosefs motion muninlite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 00:09:32 2011 +0100 (2011-11-04)
parents 18b27dcdc244
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu"
4 VERSION="0.12.5"
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 TAGS="virtualization"
13 DEPENDS="alsa-lib gnutls libsdl bluez libtasn1 libsasl vde2 libcurl \
14 attr util-linux-ng-uuid"
15 BUILD_DEPENDS="gettext perl alsa-lib-dev gnutls-dev libsdl-dev bluez-dev \
16 libtasn1-dev vde2-dev curl-dev attr-dev util-linux-ng-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 TARGET="i386-softmmu, x86_64-softmmu, \
24 arm-softmmu, ppc-softmmu, mips-softmmu"
26 #--cross-prefix= --host-cc=
27 ./configure \
28 --prefix=/usr \
29 --enable-sdl \
30 --audio-drv-list=alsa,oss \
31 --target-list="$TARGET" \
32 --cc=$BUILD_SYSTEM-gcc &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share
41 # Ther is /etc/qemu in 0.14.1
42 #cp -a $_pkg/etc $fs
44 cp -a $_pkg/usr/bin/qemu $fs/usr/bin
45 cp -a $_pkg/usr/bin/qemu-io $fs/usr/bin
46 cp -a $_pkg/usr/bin/qemu-img $fs/usr/bin
47 cp -a $_pkg/usr/bin/qemu-nbd $fs/usr/bin
49 cp -a $_pkg/usr/share/qemu $fs/usr/share
51 # move softmmu to separate packages.
52 #rm -f $fs/usr/bin/qemu-system*
54 # Remove unneeded bios binaries
55 rm -f $fs/usr/share/qemu/*ppc*
56 rm -f $fs/usr/share/qemu/*sparc*
57 }