zenmonitor3-2.0.0supertux88
download
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info
DESCRIPTION="Monitoring software for AMD Zen-based CPUs with Zen 3 support"
HOMEPAGE="https://git.exozy.me/a/zenmonitor3"
SRC_URI="https://git.exozy.me/a/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/zenmonitor3"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cli"
CONFIG_CHECK="X86_MSR"
DEPEND="
!sys-apps/zenmonitor
|| (
sys-kernel/zenpower3
sys-kernel/zenstats
)
"
RDEPEND="${DEPEND}"
src_prepare() {
default_src_prepare
use cli && eapply "${FILESDIR}"/${PN}-cli-tinfo-fix.patch
}
src_compile() {
default_src_compile
use cli && emake build-cli
}
src_install() {
dosbin zenmonitor
use cli && dosbin zenmonitor-cli
}