wok-stable view qemu/receipt @ rev 2163

linux-acpi: add some laptop drivers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 07 08:45:36 2009 +0000 (2009-02-07)
parents 65d3dfc87776
children afc563e8f9a8
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu"
4 VERSION="0.9.1"
5 CATEGORY="misc"
6 SHORT_DESC="General-purpose full virtualizer for x86 hardware."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://bellard.org/$PACKAGE/"
10 WGET_URL="$WEB_SITE$TARBALL"
11 BUILD_DEPENDS="alsa-lib-dev gcc3 gettext libSDL-dev"
12 DEPENDS="alsa-lib libSDL libiconv"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 [ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u
19 touch done.virtio.u
20 #./configure --prefix=/usr --enable-alsa --disable-gfx-check \
22 ./configure --prefix=/usr --enable-alsa \
23 --host-cc=gcc-3 --cc=gcc-3 \
24 --target-list="i386-softmmu,x86_64-softmmu" &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/usr $fs
33 }