ipfire-3.x/lm-sensors/lm-sensors.nm

61 lines
1.2 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = lm-sensors
version = 3.6.0
release = 2
thisapp = %{name}-3-6-0
groups = Applications/Statistics
url = https://hwmon.wiki.kernel.org
license = GPLv2+
summary = Hardware monitoring tools
description
The lm_sensors package includes a collection of modules for general SMBus
access and hardware monitoring.
end
source_dl = https://github.com/lm-sensors/lm-sensors/archive/V3-6-0/
build
requires
bison
flex
rrdtool-devel
end
make_build_targets += \
CFLAGS="%{CFLAGS}" \
LDFLAGS="%{LDFLAGS}" \
EXLDFLAGS="%{LDFLAGS}" \
BUILD_STATIC_LIB=0 \
PROG_EXTRA=sensord
make_install_targets += \
PREFIX=%{prefix} \
LIBDIR=%{libdir} \
MANDIR=%{mandir} \
BUILD_STATIC_LIB=0 \
PROG_EXTRA=sensord
end
packages
package %{name}
requires
perl
rrdtool
end
end
package %{name}-devel
template DEVEL
end
package %{name}-debuginfo
template DEBUGINFO
end
end