distribution/packages/debug/edid-decode/package.mk

22 lines
634 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# 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"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Decode EDID data in human-readable format"
GET_HANDLER_SUPPORT="git"
PKG_GIT_CLONE_BRANCH="master"
2022-02-05 14:23:32 +00:00
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
}