distribution/packages/sysutils/ryzenadj/package.mk

19 lines
551 B
Makefile
Raw Normal View History

2022-09-03 10:59:08 +00:00
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
PKG_NAME="ryzenadj"
2023-06-03 10:00:49 +00:00
PKG_VERSION="f6fbf9d17f70d9736bc8294ccd8438ae94804aa9"
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
}