wok-current view qemu-light/receipt @ rev 13496
syslinux: edit md5sum.c
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Oct 13 09:15:11 2012 +0100 (2012-10-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 }