nut: avoid picking up libi2c dependency

Add --without-linux-i2c to configure arguments to avoid using i2c if
found in the staging dir.

Switch to AUTORELEASE.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2022-09-15 10:18:40 -03:00 committed by Rosen Penev
parent eca1338ebc
commit 1d3e666fbe

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nut
PKG_VERSION:=2.8.0
PKG_RELEASE:=1
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.8/
@ -541,6 +541,7 @@ CONFIGURE_ARGS += \
--with$(if $(CONFIG_PACKAGE_nut-web-cgi),,out)-cgi \
--without-ipmi \
--without-freeipmi \
--without-linux-i2c \
--$(if $(CONFIG_NUT_SSL),with,without)-ssl $(if $(CONFIG_NUT_SSL),--with-openssl) \
--without-libltdl \
--without-macosx_ups \