gentoo-ebuilds/sys-power/RyzenAdj/RyzenAdj-0.16.0.ebuild
Sam James e2e2cbf4c0
sys-power/RyzenAdj: Stabilize 0.16.0 x86, #954463
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-26 02:01:50 +01:00

30 lines
622 B
Bash

# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="The power management tool for mobile and desktop Ryzen APUs"
HOMEPAGE="https://github.com/FlyGoat/RyzenAdj"
SRC_URI="https://github.com/FlyGoat/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="sys-apps/pciutils"
RDEPEND="${DEPEND}"
src_configure() {
CMAKE_BUILD_TYPE="Release"
cmake_src_configure
}
src_install() {
dosbin "${BUILD_DIR}"/ryzenadj
dolib.so "${BUILD_DIR}"/libryzenadj.so
dodoc "${S}"/README.md
}