wok-4.x annotate qemu/receipt @ rev 1390
Up: htpop 0.8
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:51:27 2008 +0200 (2008-09-17) |
parents | b9b0f6b77b0b |
children | 65d3dfc87776 |
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@698 | 18 patch -p1 < ../stuff/virtio.u |
pascal@438 | 19 #./configure --prefix=/usr --enable-alsa --disable-gfx-check \ |
pascal@438 | 20 |
pascal@438 | 21 ./configure --prefix=/usr --enable-alsa \ |
pascal@438 | 22 --host-cc=gcc-3 --cc=gcc-3 \ |
pascal@438 | 23 --target-list="i386-softmmu,x86_64-softmmu" |
pascal@438 | 24 make |
pascal@438 | 25 make DESTDIR=$PWD/_pkg install |
pascal@438 | 26 } |
pascal@438 | 27 |
pascal@438 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@438 | 29 genpkg_rules() |
pascal@438 | 30 { |
pascal@438 | 31 cp -a $_pkg/usr $fs |
pascal@438 | 32 } |
pascal@438 | 33 |