You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
576 B
28 lines
576 B
# Copyright 2021-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
SRC_URI="https://github.com/hattedsquirrel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
DESCRIPTION="Monitor power information of Ryzen processors via the PM table of the SMU"
|
|
HOMEPAGE="https://github.com/hattedsquirrel/ryzen_monitor"
|
|
|
|
SLOT="0"
|
|
LICENSE="AGPL-3"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="app-admin/ryzen_smu"
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin src/ryzen_monitor
|
|
}
|