wok-6.x view qemu/receipt @ rev 10383

udev-light: fix path to pci.ids
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:07:41 2011 +0200 (2011-05-23)
parents 0467a03ba03f
children 8e86b85b996f
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu"
4 VERSION="0.14.1"
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="gettext perl"
12 DEPENDS="alsa-lib gnutls libsdl zlib bluez libtasn1 libsasl vde2"
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 }