wok-stable annotate qemu/receipt @ rev 583

Up: slitaz-configs (1.5) - No more login sound
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 14:02:56 2008 +0200 (2008-04-15)
parents 1a4e6879fa1f
children 1944d35c5a2c
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@440 12 DEPENDS="alsa-lib libSDL"
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@438 18 #./configure --prefix=/usr --enable-alsa --disable-gfx-check \
pascal@438 19
pascal@438 20 ./configure --prefix=/usr --enable-alsa \
pascal@438 21 --host-cc=gcc-3 --cc=gcc-3 \
pascal@438 22 --target-list="i386-softmmu,x86_64-softmmu"
pascal@438 23 make
pascal@438 24 make DESTDIR=$PWD/_pkg install
pascal@438 25 }
pascal@438 26
pascal@438 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@438 28 genpkg_rules()
pascal@438 29 {
pascal@438 30 cp -a $_pkg/usr $fs
pascal@438 31 }
pascal@438 32