# lm-sensors 3.6.0 — libsensors (lectura de sensores hardware). Lo exige libksysguard. Makefile propio
# (sin configure); flex/bison para el parser de sensors.conf. Sólo la lib (PROG_EXTRA vacío).
name    = "lm-sensors"
version = "3.6.0"
[source]
tarball = "https://github.com/lm-sensors/lm-sensors/archive/refs/tags/V3-6-0.tar.gz"
sha256  = "0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197"
[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "dynamic"
zig_version = "0.13.0"
[build.phases]
configure = 'true'
compile   = 'make -j"$(nproc)" PREFIX=/usr BUILD_STATIC_LIB=0 CC="zig cc -mcpu=baseline"'
install   = 'make install PREFIX=/usr DESTDIR=/out BUILD_STATIC_LIB=0'
[deps]
build = ["pkgconf", "flex", "bison"]
