network-ups-tools: enable snmp module

This commit is contained in:
beefcurtains 2015-06-03 10:18:31 +00:00
parent 616b13c63c
commit af3eea3a2c
2 changed files with 7 additions and 4 deletions

View file

@ -103,6 +103,7 @@ hook() {
generic_wrapper imlib2-config
generic_wrapper libmikmod-config
generic_wrapper pcre-config
generic_wrapper net-snmp-config
generic_wrapper2 curl-config
generic_wrapper2 gpg-error-config
generic_wrapper2 libassuan-config

View file

@ -1,16 +1,18 @@
# Template file for 'network-ups-tools'
pkgname=network-ups-tools
version=2.7.3
revision=1
revision=2
wrksrc="nut-${version}"
build_style=gnu-configure
configure_args="
--sysconfdir=/etc/ups --without-doc --disable-static
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
--without-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir"
--without-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
--with-snmp"
hostmakedepends="pkg-config"
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel"
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
net-snmp-devel"
system_accounts="nut"
conf_files="
/etc/ups/ups.conf
@ -23,7 +25,7 @@ short_desc="UPS control and monitoring features"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.networkupstools.org/"
distfiles="http://www.networkupstools.org/source/2.7/nut-$version.tar.gz"
distfiles="${homepage}source/${version%.*}/nut-${version}.tar.gz"
checksum=ff44d95d06a51559a0a018eef7f8d17911c1002b6352a7d7580ff75acb12126b
post_install() {