wok-4.x view qemu/receipt @ rev 6794
Down: shared-mime-info to 0.71. Best to leave it there for now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 18:55:32 2010 +0000 (2010-10-18) |
parents | 8fd90285da5e |
children | 3dcd4d122a1f |
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 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 TARGET="i386-softmmu,i386-linux-user, \
21 x86_64-softmmu,x86_64-linux-user, \
22 arm-softmmu,arm-linux-user, \
23 ppc-softmmu,ppc-linux-user, \
24 mips-softmmu,mips-linux-user"
26 ./configure \
27 --prefix=/usr \
28 --disable-curl \
29 --enable-system \
30 --enable-user \
31 --enable-linux-user \
32 --target-list="$TARGET"&&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin $fs/usr/share
42 cp -a $_pkg/usr/bin/qemu $fs/usr/bin
43 cp -a $_pkg/usr/bin/qemu-io $fs/usr/bin
44 cp -a $_pkg/usr/bin/qemu-img $fs/usr/bin
45 cp -a $_pkg/usr/bin/qemu-nbd $fs/usr/bin
47 cp -a $_pkg/usr/share/qemu $fs/usr/share
49 # move softmmu to separate packages.
50 rm -f $fs/usr/bin/qemu-system*
52 # Remove unneeded bios binaries
53 rm -f $fs/usr/share/qemu/*ppc*
54 rm -f $fs/usr/share/qemu/*sparc*
55 }