wok-current annotate qemu/receipt @ rev 1810

qemu: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 04 17:17:42 2008 +0000 (2008-12-04)
parents 65d3dfc87776
children afc563e8f9a8
rev   line source
pascal@438 1 # SliTaz package receipt.
pascal@438 2
pascal@438 3 PACKAGE="qemu"
pascal@438 4 VERSION="0.9.1"
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"
pascal@438 9 WEB_SITE="http://bellard.org/$PACKAGE/"
pascal@438 10 WGET_URL="$WEB_SITE$TARBALL"
pascal@440 11 BUILD_DEPENDS="alsa-lib-dev gcc3 gettext libSDL-dev"
pascal@1810 12 DEPENDS="alsa-lib libSDL libiconv"
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
pascal@1553 18 [ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u
pascal@1553 19 touch done.virtio.u
pascal@438 20 #./configure --prefix=/usr --enable-alsa --disable-gfx-check \
pascal@438 21
pascal@438 22 ./configure --prefix=/usr --enable-alsa \
pascal@438 23 --host-cc=gcc-3 --cc=gcc-3 \
pascal@1553 24 --target-list="i386-softmmu,x86_64-softmmu" &&
pascal@1553 25 make &&
pascal@438 26 make DESTDIR=$PWD/_pkg install
pascal@438 27 }
pascal@438 28
pascal@438 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@438 30 genpkg_rules()
pascal@438 31 {
pascal@438 32 cp -a $_pkg/usr $fs
pascal@438 33 }
pascal@438 34