View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_P="${PN}-v${PV}"
DESCRIPTION="Framework for the simulation of distributed applications
(Clouds, HPC, Grids, IoT and others)"
HOMEPAGE="https://simgrid.org/"
SRC_URI="https://framagit.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="eigen json"
RDEPEND="
eigen? ( >=dev-cpp/eigen-3 )
json? ( dev-cpp/nlohmann_json )
dev-libs/boost[context]
"
DEPEND="${RDEPEND}"
BDEPEND=""
src_prepare() {
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-GNinja
)
cmake_src_configure
}
src_install() {
cmake_src_install
}