wok-next diff qemu-light/receipt @ rev 10742
Up: slitaz-doc (4.2) - New style and include all doc (no more in locale pack)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 02:35:50 2011 +0200 (2011-05-30) |
parents | |
children | b580186756a8 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qemu-light/receipt Mon May 30 02:35:50 2011 +0200 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qemu-light" 1.7 +VERSION="0.12.5" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +SOURCE="qemu" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.qemu.org/" 1.14 +WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL" 1.15 +TAGS="virtualization" 1.16 + 1.17 +DEPENDS="alsa-lib libsdl util-linux-ng-uuid" 1.18 +BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-ng-uuid-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + TARGET="i386-softmmu" 1.25 + ./configure \ 1.26 + --prefix=/usr \ 1.27 + --disable-xen \ 1.28 + --disable-vnc-sasl \ 1.29 + --disable-vnc-tls \ 1.30 + --disable-curl \ 1.31 + --disable-bluez \ 1.32 + --disable-curses \ 1.33 + --disable-vde \ 1.34 + --disable-blobs \ 1.35 + --enable-io-thread \ 1.36 + --audio-drv-list=alsa \ 1.37 + --target-list="$TARGET" \ 1.38 + --cc=$BUILD_SYSTEM-gcc && 1.39 + make && make DESTDIR=$DESTDIR install 1.40 +} 1.41 + 1.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 +genpkg_rules() 1.44 +{ 1.45 + mkdir -p $fs/usr/share 1.46 + cp -a $_pkg/usr/bin $fs/usr 1.47 + cp -a $_pkg/usr/share/qemu $fs/usr/share 1.48 + rm -f $fs/usr/share/qemu/*ppc* 1.49 + rm -f $fs/usr/share/qemu/*sparc* 1.50 +}