wok-current view qemu/receipt @ rev 2755
Add task
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Apr 26 15:40:30 2009 +0000 (2009-04-26) |
parents | 26d0fe7cfd9b |
children | e2e27f5f41ad |
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 gnutls libSDL libiconv zlib"
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 }