wok annotate qemu/receipt @ rev 3639
abiword-plugins: fix compile for gcc44
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 03 18:01:23 2009 +0200 (2009-07-03) |
parents | e2e27f5f41ad |
children | c4ca195c01dd |
rev | line source |
---|---|
pascal@438 | 1 # SliTaz package receipt. |
pascal@438 | 2 |
pascal@438 | 3 PACKAGE="qemu" |
pankso@3171 | 4 VERSION="0.10.5" |
pascal@438 | 5 CATEGORY="misc" |
pascal@438 | 6 SHORT_DESC="General-purpose full virtualizer for x86 hardware." |
pascal@438 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@438 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3171 | 9 WEB_SITE="http://www.nongnu.org/qemu/" |
pankso@3171 | 10 WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL" |
pankso@3425 | 11 BUILD_DEPENDS="alsa-lib-dev gettext libsdl-dev" |
pankso@3425 | 12 DEPENDS="alsa-lib gnutls libsdl zlib" |
pascal@438 | 13 |
pascal@438 | 14 # Rules to configure and make the package. |
pascal@438 | 15 compile_rules() |
pascal@438 | 16 { |
pascal@438 | 17 cd $src |
pankso@3171 | 18 |
pankso@3171 | 19 # From 0.10.0 VirtIO paravirtual device are supported. |
pankso@3171 | 20 #[ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u |
pankso@3171 | 21 #touch done.virtio.u |
pankso@3171 | 22 |
pankso@3171 | 23 #./configure --prefix=/usr --enable-alsa --disable-gfx-check |
pankso@3171 | 24 |
pankso@3171 | 25 ./configure \ |
pankso@3171 | 26 --prefix=/usr \ |
pankso@3171 | 27 --target-list="i386-softmmu,x86_64-softmmu" && |
pascal@1553 | 28 make && |
pascal@438 | 29 make DESTDIR=$PWD/_pkg install |
pascal@438 | 30 } |
pascal@438 | 31 |
pascal@438 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@438 | 33 genpkg_rules() |
pascal@438 | 34 { |
pascal@438 | 35 cp -a $_pkg/usr $fs |
pascal@438 | 36 } |