summaryrefslogtreecommitdiff
blob: 31faa2b748f6605dfaf9015d9a18ce9d57b5fb71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}