From c05c26febe4a9f38c7fe88f0469afc66c81efec4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 1 Dec 2009 10:12:34 +0000 Subject: main/apcupsd: add snmp support --- main/apcupsd/APKBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'main/apcupsd/APKBUILD') diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD index fcaef323e..a013976b3 100644 --- a/main/apcupsd/APKBUILD +++ b/main/apcupsd/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa 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 -- cgit v1.2.3