wok annotate qemu-x86_64/receipt @ rev 20466
fusioninventory-agenti: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 11 13:32:26 2018 +0200 (2018-10-11) |
parents | c20d24b282b2 |
children | 8acc87b18a99 |
rev | line source |
---|---|
erjo@6069 | 1 # SliTaz package receipt. |
erjo@6069 | 2 |
erjo@6069 | 3 PACKAGE="qemu-x86_64" |
pascal@17889 | 4 VERSION="2.0.2" |
erjo@6069 | 5 CATEGORY="misc" |
erjo@6069 | 6 SHORT_DESC="General-purpose full virtualizer for X86_64 CPU." |
erjo@6069 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@12978 | 9 WEB_SITE="http://qemu.org" |
pascal@19446 | 10 UEFIZIP="OVMF-X64-r15214.zip" |
pascal@19446 | 11 EXTRA_SOURCE_FILES="$UEFIZIP" |
erjo@6069 | 12 TAGS="virtualization" |
erjo@6069 | 13 WANTED="qemu" |
erjo@6069 | 14 |
pascal@15002 | 15 DEPENDS="qemu" |
pascal@15002 | 16 |
erjo@6069 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@6069 | 18 genpkg_rules() |
erjo@6069 | 19 { |
pascal@19446 | 20 mkdir -p $fs/usr/bin $fs/usr/share/qemu/x64 $fs/etc |
pankso@12978 | 21 cp -a $install/etc/qemu $fs/etc |
pankso@12978 | 22 cp -a $install/usr/bin/qemu-*${PACKAGE#qemu-} $fs/usr/bin |
pankso@12978 | 23 cd $fs/usr/bin && ln -s qemu-system-${PACKAGE#qemu-} $PACKAGE |
pascal@19446 | 24 [ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \ |
pascal@19446 | 25 http://netassist.dl.sourceforge.net/project/edk2/OVMF/$UEFIZIP |
pascal@19446 | 26 unzip $SOURCES_REPOSITORY/$UEFIZIP OVMF.fd -d $fs/usr/share/qemu/x64 |
erjo@6069 | 27 } |