wok-6.x view qemu-light/receipt @ rev 12481

Rename linux-util-ng to util-linux in all packages
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:30:27 2012 +0200 (2012-04-23)
parents 14a6444358dd
children 815296e7f2ed
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-uuid"
16 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-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 linuxboot.bin
46 do
47 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
48 done
49 }