# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="lm_sensors" PKG_VERSION="e8afbda10fba571c816abddcb5c8180afc435bba" PKG_SHA256="255b9a9b30c7969b3df0460392a807239c18b15baac1ff33ff5fef3b1cc1169d" PKG_ARCH="arm x86_64" PKG_LICENSE="GPL" PKG_SITE="http://secure.netroedge.com/~lm78/" PKG_URL="https://github.com/groeck/lm-sensors/archive/${PKG_VERSION}.tar.gz" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="Provides user-space support for the hardware monitoring drivers." PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr" pre_make_target() { PKG_MAKE_OPTS_TARGET="PREFIX=/usr CC=$CC AR=$AR" export CFLAGS="$TARGET_CFLAGS" export CPPFLAGS="$TARGET_CPPFLAGS" } makeinstall_target() { : }