aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2023-12-11 13:42:22 +0000
committerYixun Lan <dlan@gentoo.org>2023-12-11 13:43:25 +0000
commita769721a368c9382884c5aaf67e3951802793654 (patch)
tree16418be955b73ed8fc00e9a9453b2111f5d6137c
parentapp-emulation/spike: fix spike-9999 (diff)
downloadriscv-master.tar.gz
riscv-master.tar.bz2
riscv-master.zip
app-emulation/spike: drop empty variables && updateHEADmaster
Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r--app-emulation/spike/spike-1.0.0.ebuild3
-rw-r--r--app-emulation/spike/spike-9999.ebuild7
2 files changed, 3 insertions, 7 deletions
diff --git a/app-emulation/spike/spike-1.0.0.ebuild b/app-emulation/spike/spike-1.0.0.ebuild
index 053302e..e34b82f 100644
--- a/app-emulation/spike/spike-1.0.0.ebuild
+++ b/app-emulation/spike/spike-1.0.0.ebuild
@@ -11,9 +11,6 @@ SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND=""
S="${WORKDIR}/riscv-isa-sim-${PV}"
src_prepare() {
diff --git a/app-emulation/spike/spike-9999.ebuild b/app-emulation/spike/spike-9999.ebuild
index 5743f06..528cc70 100644
--- a/app-emulation/spike/spike-9999.ebuild
+++ b/app-emulation/spike/spike-9999.ebuild
@@ -8,23 +8,22 @@ HOMEPAGE="https://github.com/riscv-software-src/riscv-isa-sim"
LICENSE="BSD"
SLOT="0/${PV}"
-IUSE=""
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git"
else
- SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz -> ${P}.gh.htar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64"
fi
DEPEND="sys-apps/dtc"
RDEPEND="${DEPEND}"
-BDEPEND=""
src_prepare() {
default
- sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" Makefile.in || die
+ sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" \
+ Makefile.in || die
}