summaryrefslogtreecommitdiffstats
path: root/main/apcupsd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/apcupsd/APKBUILD')
-rw-r--r--main/apcupsd/APKBUILD9
1 files changed, 5 insertions, 4 deletions
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 <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