wok view qemu-light/receipt @ rev 14730
Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 10:45:31 2013 +0200 (2013-06-13) |
parents | 815296e7f2ed |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu-light"
4 VERSION="1.2.0"
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.bz2"
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 }