wok view qemu-light/receipt @ rev 17727
ibedit: add -ltinfo in LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 22:31:32 2015 +0100 (2015-03-05) |
parents | 7896f0694ef6 |
children | 30ff991c5681 |
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 LICENSE="GPL2"
9 SOURCE="qemu"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.qemu.org/"
12 WGET_URL="http://wiki.qemu.org/download/$TARBALL"
13 TAGS="virtualization"
14 CONFLICT="qemu"
16 DEPENDS="alsa-lib libsdl util-linux-uuid"
17 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \
18 libgio-dev glib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 TARGET="i386-softmmu"
25 ./configure \
26 --prefix=/usr \
27 --disable-xen \
28 --disable-vnc-sasl \
29 --disable-vnc-tls \
30 --disable-curl \
31 --disable-bluez \
32 --disable-curses \
33 --disable-vde \
34 --audio-drv-list=alsa \
35 --target-list="$TARGET" \
36 --cc=$BUILD_SYSTEM-gcc &&
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/qemu
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu
46 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.rom linuxboot.bin
47 do
48 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
49 done
50 # Create qemu symlink
51 cd $fs/usr/bin && ln -s qemu-system-i386 qemu
52 }