wok-6.x annotate qemu-light/receipt @ rev 10694
Add qemu-light (stripped down, but works) - qemu* may move to undigest since I can't make it work properly
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 22:52:39 2011 +0200 (2011-05-27) |
parents | |
children | b580186756a8 |
rev | line source |
---|---|
pankso@10694 | 1 # SliTaz package receipt. |
pankso@10694 | 2 |
pankso@10694 | 3 PACKAGE="qemu-light" |
pankso@10694 | 4 VERSION="0.12.5" |
pankso@10694 | 5 CATEGORY="misc" |
pankso@10694 | 6 SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)." |
pankso@10694 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@10694 | 8 SOURCE="qemu" |
pankso@10694 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@10694 | 10 WEB_SITE="http://www.qemu.org/" |
pankso@10694 | 11 WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL" |
pankso@10694 | 12 TAGS="virtualization" |
pankso@10694 | 13 |
pankso@10694 | 14 DEPENDS="alsa-lib libsdl util-linux-ng-uuid" |
pankso@10694 | 15 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-ng-uuid-dev" |
pankso@10694 | 16 |
pankso@10694 | 17 # Rules to configure and make the package. |
pankso@10694 | 18 compile_rules() |
pankso@10694 | 19 { |
pankso@10694 | 20 cd $src |
pankso@10694 | 21 TARGET="i386-softmmu" |
pankso@10694 | 22 ./configure \ |
pankso@10694 | 23 --prefix=/usr \ |
pankso@10694 | 24 --disable-xen \ |
pankso@10694 | 25 --disable-vnc-sasl \ |
pankso@10694 | 26 --disable-vnc-tls \ |
pankso@10694 | 27 --disable-curl \ |
pankso@10694 | 28 --disable-bluez \ |
pankso@10694 | 29 --disable-curses \ |
pankso@10694 | 30 --disable-vde \ |
pankso@10694 | 31 --disable-blobs \ |
pankso@10694 | 32 --enable-io-thread \ |
pankso@10694 | 33 --audio-drv-list=alsa \ |
pankso@10694 | 34 --target-list="$TARGET" \ |
pankso@10694 | 35 --cc=$BUILD_SYSTEM-gcc && |
pankso@10694 | 36 make && make DESTDIR=$DESTDIR install |
pankso@10694 | 37 } |
pankso@10694 | 38 |
pankso@10694 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10694 | 40 genpkg_rules() |
pankso@10694 | 41 { |
pankso@10694 | 42 mkdir -p $fs/usr/share |
pankso@10694 | 43 cp -a $_pkg/usr/bin $fs/usr |
pankso@10694 | 44 cp -a $_pkg/usr/share/qemu $fs/usr/share |
pankso@10694 | 45 rm -f $fs/usr/share/qemu/*ppc* |
pankso@10694 | 46 rm -f $fs/usr/share/qemu/*sparc* |
pankso@10694 | 47 } |