Commit c05c26fe authored by Natanael Copa's avatar Natanael Copa

main/apcupsd: add snmp support

parent 5c52d97e
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apcupsd
pkgver=3.14.7
pkgrel=0
pkgrel=1
pkgdesc="A Daemon to control APC UPSes"
subpackages="$pkgname-doc"
url="http://www.apcupsd.org"
license="GPL-2"
depends="util-linux-ng"
makedepends=
depends=
makedepends="net-snmp-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
apcupsd.initd
apcupsd-alpine.patch
......@@ -20,7 +20,8 @@ build() {
ac_cv_path_SHUTDOWN="/sbin/poweroff" \
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-usb
--enable-usb \
--enable-snmp
make || return 1
make DESTDIR=$pkgdir install
install -D -m755 "$srcdir"/apcupsd.initd "$pkgdir"/etc/init.d/apcupsd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment