wok-next annotate qemu/receipt @ rev 3272
leafpad: Add chinese name and comment to leafpad.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:41:43 2009 +0800 (2009-06-02) |
parents | 5502a0ca908b |
children | e8024c01fc47 |
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@3171 | 11 BUILD_DEPENDS="alsa-lib-dev gettext libSDL-dev" |
pankso@3171 | 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 } |