distribution/packages/sysutils/drm_tool/package.mk
fewtarius 3917e2bad3
* Add support for adjusting gamma/contrast/saturation/hue - Thanks to @christianhaitian for the idea and reference implementation!
* Fix a bug that prevents the ssh key from being deployed on a dev build.
* Add drm tool package.
2023-04-01 00:20:39 +00:00

21 lines
550 B
Makefile

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius
PKG_NAME="drm_tool"
PKG_VERSION="1cb5b10"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/NickCis/drm_tool"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain libdrm"
PKG_LONGDESC="A simple tool for getting drm info and setting properties."
pre_configure_target() {
export CFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64 -ldrm"
export LDFLAGS="${TARGET_LDFLAGS} -ldrm"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp drm_tool ${INSTALL}/usr/bin
}