wok-next view qemu-light/receipt @ rev 13019

Up perl-berkeleydb (0.51)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 09 10:39:06 2012 +0200 (2012-06-09)
parents 73641efed1cc
children c70a6613800f
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu-light"
4 VERSION="1.0.1"
5 CATEGORY="misc"
6 SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="qemu"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.qemu.org/"
11 WGET_URL="http://wiki.qemu.org/download/$TARBALL"
12 TAGS="virtualization"
13 CONFLICT="qemu"
15 DEPENDS="alsa-lib libsdl util-linux-uuid"
16 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \
17 libgio-dev glib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 TARGET="i386-softmmu"
24 ./configure \
25 --prefix=/usr \
26 --disable-xen \
27 --disable-vnc-sasl \
28 --disable-vnc-tls \
29 --disable-curl \
30 --disable-bluez \
31 --disable-curses \
32 --disable-vde \
33 --audio-drv-list=alsa \
34 --target-list="$TARGET" \
35 --cc=$BUILD_SYSTEM-gcc &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/qemu
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu
45 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.bin linuxboot.bin
46 do
47 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
48 done
49 # Create qemu symlink
50 cd $fs/usr/bin && ln -s qemu-system-i386 qemu
51 }