distribution/packages/sysutils/ryzenadj/package.mk
fewtarius af60426e81
* Add support for AYANEO Air Plus (6800u)
* Update emulators and cores.
* Update Linux kernel to 6.1.27.
2023-05-01 21:16:24 +00:00

18 lines
551 B
Makefile

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
PKG_NAME="ryzenadj"
PKG_VERSION="45a867c573754704608bcce0db6059005435f833"
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
}