aboutsummaryrefslogtreecommitdiffstats
path: root/main/apcupsd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-01 10:12:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-01 10:12:34 +0000
commitc05c26febe4a9f38c7fe88f0469afc66c81efec4 (patch)
tree18ba795d06595e6b79feacb492cfab678a310b20 /main/apcupsd
parent5c52d97e7901d0fba01296340773e8dae5748642 (diff)
downloadaports-c05c26febe4a9f38c7fe88f0469afc66c81efec4.tar.bz2
aports-c05c26febe4a9f38c7fe88f0469afc66c81efec4.tar.xz
main/apcupsd: add snmp support
Diffstat (limited to 'main/apcupsd')
-rw-r--r--main/apcupsd/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index fcaef323e3..a013976b31 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