wok view qemu-light/receipt @ rev 10722

usbutils: fix usb.ids path (see BUGS in receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 00:27:29 2011 +0200 (2011-05-29)
parents
children b580186756a8
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"
14 DEPENDS="alsa-lib libsdl util-linux-ng-uuid"
15 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-ng-uuid-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 TARGET="i386-softmmu"
22 ./configure \
23 --prefix=/usr \
24 --disable-xen \
25 --disable-vnc-sasl \
26 --disable-vnc-tls \
27 --disable-curl \
28 --disable-bluez \
29 --disable-curses \
30 --disable-vde \
31 --disable-blobs \
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
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/share/qemu $fs/usr/share
45 rm -f $fs/usr/share/qemu/*ppc*
46 rm -f $fs/usr/share/qemu/*sparc*
47 }