sci-physics/batexpe - 9999 (batsim)

Search

Package Information

Description:
A program in charge of managing one Batsim simulation.
Homepage:
batsim.frama.io
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 go-module

DESCRIPTION="A program in charge of managing one Batsim simulation."
HOMEPAGE="batsim.frama.io"
EGIT_REPO_URI="https://framagit.org/batsim/${PN}.git"

KEYWORDS="~amd64"

LICENSE="LGPL-3"
SLOT="0"

DEPEND="
	sci-physics/batsim
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor # This is needed most of the time except when the source includes the vendor files too, like the lazygit project
}

src_compile() {
	ego build
	make ./bin/robin
	make ./bin/robintest
}

src_install() {
	dobin bin/robin
	dobin bin/robintest
}

Dependencies

DEPEND

	sci-physics/batsim

RDEPEND

	sci-physics/batsim