testing/nut: fix path and missing dependencies for USB UPS

This commit is contained in:
Dennis Günnewig 2021-07-08 23:12:01 +02:00 committed by Leo
parent eb2165d671
commit 9c6fd2bec6
2 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,12 @@
# Maintainer: Kozak Ivan <kozak-iv@yandex.ru>
pkgname=nut
pkgver=2.7.4
pkgrel=8
pkgrel=9
pkgdesc="Network UPS tools"
url="https://networkupstools.org/"
arch="all"
license="GPL-2.0-or-later"
depends="hidapi eudev udev-init-scripts-openrc"
depends_dev="openssl-dev libusb-compat-dev net-snmp-dev neon-dev nss-dev"
makedepends="$depends_dev libtool autoconf automake"
pkgusers=$pkgname
@ -50,7 +51,7 @@ build() {
--sysconfdir=/etc/nut \
--with-statepath=/var/run/nut \
--with-altpidpath=/var/run/nut \
--with-udev-dir=/usr/lib/udev/rules.d \
--with-udev-dir=/lib/udev \
--with-nss \
--with-openssl
make

View File

@ -9,6 +9,7 @@ start_stop_daemon_args="--quiet"
depend() {
use net dns
need udev
}
start_pre() {