wok view qemu-x86_64/receipt @ rev 23156

Up nwipe (0.28) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 17:43:47 2020 +0100 (2020-03-15)
parents c20d24b282b2
children 8acc87b18a99
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu-x86_64"
4 VERSION="2.0.2"
5 CATEGORY="misc"
6 SHORT_DESC="General-purpose full virtualizer for X86_64 CPU."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://qemu.org"
10 UEFIZIP="OVMF-X64-r15214.zip"
11 EXTRA_SOURCE_FILES="$UEFIZIP"
12 TAGS="virtualization"
13 WANTED="qemu"
15 DEPENDS="qemu"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin $fs/usr/share/qemu/x64 $fs/etc
21 cp -a $install/etc/qemu $fs/etc
22 cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin
23 cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE
24 [ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \
25 http://netassist.dl.sourceforge.net/project/edk2/OVMF/$UEFIZIP
26 unzip $SOURCES_REPOSITORY/$UEFIZIP OVMF.fd -d $fs/usr/share/qemu/x64
27 }