sys-kernel/zenpower3-0.2.0: Swap to working upstream

So, probably wasn't the best idea to just drop 0.2.0 and add a 9999 ebuild. Im a little rusty. Anyway, I found a working upstream that can be used.

Signed-off-by: kernaltrap <kernaltrap@gmail.com>
This commit is contained in:
kernaltrap
2024-12-27 21:03:06 -06:00
parent e8182c5247
commit 1d7c85e619
3 changed files with 2 additions and 49 deletions

View File

@@ -1,38 +0,0 @@
# Copyright 2020-2024 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://git.exozy.me/a/zenpower3"
if [[ ${PV} -eq 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ocerman/zenpower"
S="${WORKDIR}/${PN}-9999"
else
SRC_URI="https://git.exozy.me/a/zenpower3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
fi
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
dodoc README.md
}