distribution/packages/sysutils/lm_sensors/package.mk
2023-12-15 16:33:23 +00:00

21 lines
629 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="lm_sensors"
PKG_VERSION="42f240d2a457834bcbdf4dc8b57237f97b5f5854"
PKG_ARCH="arm x86_64"
PKG_LICENSE="GPL"
PKG_SITE="http://secure.netroedge.com/~lm78/"
PKG_URL="https://github.com/lm-sensors/lm-sensors.git"
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}"
}