app-emulation/qemu-riscv64-bin: New binary package
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 28 Apr 2019 16:29:17 +0000 (18:29 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 28 Apr 2019 16:29:17 +0000 (18:29 +0200)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
app-emulation/qemu-riscv64-bin/Manifest [new file with mode: 0644]
app-emulation/qemu-riscv64-bin/metadata.xml [new file with mode: 0644]
app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild [new file with mode: 0644]

diff --git a/app-emulation/qemu-riscv64-bin/Manifest b/app-emulation/qemu-riscv64-bin/Manifest
new file mode 100644 (file)
index 0000000..366c8ee
--- /dev/null
@@ -0,0 +1 @@
+DIST qemu-riscv64-bin-3.1.0-r4.tar.xz 889764 BLAKE2B 888fef2f27f44be098e9b834b083558ce18d98337612b4de2278ffe5d6599248d9ed4e99153ad9b2c1a5b773131c420bb23ce6d080943af744df34464660bc42 SHA512 bc92110f6730c61bd39056d0bf3f84b35ed340a47af51b28b27554f9f2f72409221d2c81826b718742475d0fc48040c81e8f051e29b4f13412c3a39e282471e0
diff --git a/app-emulation/qemu-riscv64-bin/metadata.xml b/app-emulation/qemu-riscv64-bin/metadata.xml
new file mode 100644 (file)
index 0000000..304c5d2
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>riscv@gentoo.org</email>
+               <name>RISC-V</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>tamiko@gentoo.org</email>
+               <name>Matthias Maier</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>virtualization@gentoo.org</email>
+               <name>Gentoo Virtualization Project</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild b/app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild
new file mode 100644 (file)
index 0000000..30853f0
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Statically linked x86-64 binary of app-emulation/qemu, riscv64 emulator"
+
+HOMEPAGE="http://www.qemu.org"
+SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${PN}-${PVR}.tar.xz"
+LICENSE="GPL-2 LGPL-2 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="!app-emulation/qemu[qemu_user_targets_riscv64]"
+
+S=${WORKDIR}
+
+src_install() {
+       dobin qemu-riscv64
+}