wok annotate qemu/receipt @ rev 2195
Add busybox-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 12:28:12 2009 +0000 (2009-02-09) |
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 |