wok diff qemu-x86_64/receipt @ rev 24063

Fix sane-backends-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 09:56:19 2021 +0000 (2021-06-12)
parents c20d24b282b2
children 8acc87b18a99
line diff
     1.1 --- a/qemu-x86_64/receipt	Thu Apr 02 17:18:25 2015 +0200
     1.2 +++ b/qemu-x86_64/receipt	Sat Jun 12 09:56:19 2021 +0000
     1.3 @@ -7,6 +7,8 @@
     1.4  MAINTAINER="erjo@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://qemu.org"
     1.7 +UEFIZIP="OVMF-X64-r15214.zip"
     1.8 +EXTRA_SOURCE_FILES="$UEFIZIP"
     1.9  TAGS="virtualization"
    1.10  WANTED="qemu"
    1.11  
    1.12 @@ -15,8 +17,11 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/bin $fs/etc
    1.17 +	mkdir -p $fs/usr/bin $fs/usr/share/qemu/x64 $fs/etc
    1.18  	cp -a $install/etc/qemu $fs/etc
    1.19  	cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
    1.20  	cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
    1.21 +	[ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \
    1.22 +		http://netassist.dl.sourceforge.net/project/edk2/OVMF/$UEFIZIP
    1.23 +	unzip $SOURCES_REPOSITORY/$UEFIZIP OVMF.fd -d $fs/usr/share/qemu/x64
    1.24  }