wok-next annotate qemu/receipt @ rev 5443
avidemux: compile_rules busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 10:58:19 2010 +0200 (2010-05-05) |
parents | 1707e54fb4cf |
children | 8d94d34eda05 |
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" |
pascal@5031 | 12 DEPENDS="alsa-lib gnutls libsdl zlib bluez libtasn1" |
jozee@4971 | 13 TAGS="virtualization" |
pascal@438 | 14 |
pascal@438 | 15 # Rules to configure and make the package. |
pascal@438 | 16 compile_rules() |
pascal@438 | 17 { |
pascal@438 | 18 cd $src |
pankso@3171 | 19 |
pankso@3171 | 20 # From 0.10.0 VirtIO paravirtual device are supported. |
pankso@3171 | 21 #[ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u |
pankso@3171 | 22 #touch done.virtio.u |
pankso@3171 | 23 |
pankso@3171 | 24 #./configure --prefix=/usr --enable-alsa --disable-gfx-check |
pankso@3171 | 25 |
pankso@3171 | 26 ./configure \ |
pankso@3171 | 27 --prefix=/usr \ |
pankso@3171 | 28 --target-list="i386-softmmu,x86_64-softmmu" && |
pascal@1553 | 29 make && |
pascal@438 | 30 make DESTDIR=$PWD/_pkg install |
pascal@438 | 31 } |
pascal@438 | 32 |
pascal@438 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@438 | 34 genpkg_rules() |
pascal@438 | 35 { |
pascal@438 | 36 cp -a $_pkg/usr $fs |
pascal@438 | 37 } |