distribution/packages/debug/edid-decode/package.mk
2023-02-24 08:53:43 -05:00

21 lines
650 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="edid-decode"
PKG_VERSION="15df4aebf06da579241c58949493b866139d0e2b"
PKG_LICENSE="None"
PKG_URL="https://git.linuxtv.org/edid-decode.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Decode EDID data in human-readable format"
GET_HANDLER_SUPPORT="git"
PKG_GIT_CLONE_BRANCH="master"
make_target() {
echo "${CC} ${CFLAGS} -Wall ${LDFLAGS} -lm -o edid-decode edid-decode.c"
${CC} ${CFLAGS} -Wall ${LDFLAGS} -lm -o edid-decode edid-decode.c
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp edid-decode ${INSTALL}/usr/bin
}