mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
* add myself as proxy mantainer Closes: https://bugs.gentoo.org/920757 Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
33 lines
699 B
Bash
33 lines
699 B
Bash
# Copyright 2020-2022 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 of AMD Zen family CPUs"
|
|
HOMEPAGE="https://github.com/Ta180m/zenpower3"
|
|
SRC_URI="https://github.com/Ta180m/zenpower3/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
CONFIG_CHECK="HWMON PCI AMD_NB"
|
|
|
|
PATCHES="${FILESDIR}/${P}-use-symlink-to-detect-kernel-version.patch"
|
|
|
|
src_compile() {
|
|
export TARGET=${KV_FULL}
|
|
local modlist=(
|
|
zenpower=misc:::all
|
|
)
|
|
linux-mod-r1_src_compile
|
|
}
|
|
|
|
src_install() {
|
|
linux-mod-r1_src_install
|
|
dobin zp_read_debug.sh
|
|
dodoc README.md
|
|
}
|