2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
2022-09-03 10:59:08 +00:00
|
|
|
|
|
|
|
PKG_NAME="ryzenadj"
|
2023-07-22 21:30:07 +00:00
|
|
|
PKG_VERSION="7201ff25533698bfe3c402a87d479e02358bd929"
|
2022-09-03 10:59:08 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/FlyGoat/RyzenAdj"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain pciutils systemd"
|
|
|
|
PKG_LONGDESC="Adjust power management settings for Ryzen Mobile Processors."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/lib
|
|
|
|
cp libryzenadj.so ${INSTALL}/usr/lib
|
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp ryzenadj ${INSTALL}/usr/bin
|
|
|
|
}
|