wok-next view qemu-x86_64/receipt @ rev 19595

Up linux (4.9.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 17:27:31 2017 +0200 (2017-01-21)
parents c20d24b282b2
children
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 }