sys-kernel/zenstats - 0.1.0 (supertux88)

Search

Package Information

Description:
Linux kernel driver for reading sensors for AMD Zen family CPUs
Homepage:
https://github.com/Sid127/zenstats
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit linux-mod-r1

DESCRIPTION="Linux kernel driver for reading sensors for AMD Zen family CPUs"
HOMEPAGE="https://github.com/Sid127/zenstats"
SRC_URI="https://github.com/Sid127/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	!sys-kernel/zenpower
	!sys-kernel/zenpower3
"

CONFIG_CHECK="HWMON PCI AMD_NB ~!SENSORS_K10TEMP"

src_prepare() {
	# Set kernel build dir
	#sed -i "s@^KERNEL_BUILD.*@KERNEL_BUILD := ${KV_DIR}@" "${S}/Makefile" || die "Could not fix build path"

	default
}

src_compile() {
	local modlist=( ${PN}=misc:"${S}" )

	linux-mod-r1_src_compile
}

Dependencies

RDEPEND

	!sys-kernel/zenpower
	!sys-kernel/zenpower3

Manifest for 0.1.0

Type File Size Source URLs
DIST zenstats-0.1.0.tar.gz 14201 bytes https://github.com/Sid127/zenstats/archive/v0.1.0.tar.gz