wok view qemu-x86_64/receipt @ rev 19515

linld: multi initrd support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 22 21:19:01 2016 +0100 (2016-11-22)
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 }