wok-next view qemu-light/receipt @ rev 11490
esound: Fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 18 13:03:38 2011 +0100 (2011-12-18) |
parents | b113883af30d |
children | 14a6444358dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu-light"
4 VERSION="0.12.5"
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://download.savannah.gnu.org/releases/qemu/$TARBALL"
12 TAGS="virtualization"
13 CONFLICT="qemu"
15 DEPENDS="alsa-lib libsdl util-linux-ng-uuid"
16 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-ng-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 TARGET="i386-softmmu"
23 ./configure \
24 --prefix=/usr \
25 --disable-xen \
26 --disable-vnc-sasl \
27 --disable-vnc-tls \
28 --disable-curl \
29 --disable-bluez \
30 --disable-curses \
31 --disable-vde \
32 --enable-io-thread \
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
46 do
47 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
48 done
49 }