wok-undigest diff qemu/receipt @ rev 87

Added perl-smtp-ssl. (required by git send-mail)
author Liu Peng <rocky@slitaz.org>
date Wed Apr 28 01:10:48 2010 +0000 (2010-04-28)
parents
children af94a8b30fdb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qemu/receipt	Wed Apr 28 01:10:48 2010 +0000
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qemu"
     1.7 +VERSION="0.12.3"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="General-purpose full virtualizer for x86 hardware."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.nongnu.org/qemu/"
    1.13 +WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
    1.14 +BUILD_DEPENDS="alsa-lib-dev gettext libsdl-dev"
    1.15 +DEPENDS="alsa-lib gnutls libsdl zlib bluez libtasn1"
    1.16 +TAGS="virtualization"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	
    1.23 +	# From 0.10.0 VirtIO paravirtual device are supported.
    1.24 +	#[ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u
    1.25 +	#touch done.virtio.u
    1.26 +	
    1.27 +	#./configure --prefix=/usr --enable-alsa --disable-gfx-check
    1.28 +	
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31 +		--disable-curl \
    1.32 +		--target-list="i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu" &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$PWD/_pkg install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	cp -a $_pkg/usr $fs
    1.41 +	
    1.42 +	# move softmmu to separate packages.
    1.43 +	rm -f $fs/usr/bin/qemu-system*
    1.44 +	
    1.45 +	# Remove unneeded bios binaries
    1.46 +	rm -f $fs/usr/share/qemu/*ppc*
    1.47 +	rm -f $fs/usr/share/qemu/*sparc*
    1.48 +	
    1.49 +	
    1.50 +}