summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/spike/spike-9999.ebuild')
-rw-r--r--app-emulation/spike/spike-9999.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-emulation/spike/spike-9999.ebuild b/app-emulation/spike/spike-9999.ebuild
new file mode 100644
index 0000000..31faa2b
--- /dev/null
+++ b/app-emulation/spike/spike-9999.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit eutils autotools git-r3 multilib
+
+DESCRIPTION="The RISC-V ISA Simulator"
+HOMEPAGE="https://github.com/riscv/riscv-isa-sim/"
+EGIT_REPO_URI="https://github.com/riscv/riscv-isa-sim"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+ default
+ sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir):g" Makefile.in || die
+ eautoreconf
+}