distribution/packages/sysutils/ryzenadj/package.mk
fewtarius 22ffd7ed07
* Add support for including AppImages in JELOS builds.
* Update PCSX2 to use the upstream AppImage.
* Complete PCSX2 standalone integration.
* Update volume controls to use mapped volume mode.
* Update GTK3 to build additional required bits.
2022-09-22 19:50:28 -04:00

22 lines
616 B
Makefile

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
PKG_NAME="ryzenadj"
PKG_VERSION="feecd88d29e555fa743044dad623fb96dded2b93"
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"
pre_configure_target() {
export LDFLAGS="${LDFLAGS} -ludev"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib
cp libryzenadj.so ${INSTALL}/usr/lib
mkdir -p ${INSTALL}/usr/bin
cp ryzenadj ${INSTALL}/usr/bin
}