aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/rrdbot/APKBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/testing/rrdbot/APKBUILD b/testing/rrdbot/APKBUILD
index 3acfd2ae55..bdbbd4fb29 100644
--- a/testing/rrdbot/APKBUILD
+++ b/testing/rrdbot/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdbot
-pkgver=0.9.6
-pkgrel=2
-pkgdesc="an SNMP polling daemon which writes the polled values to an RRD database"
+pkgver=0.9.7
+pkgrel=0
+pkgdesc="An SNMP polling daemon which writes the polled values to an RRD database"
url="http://memberwebs.com/stef/software/rrdbot/"
arch="all"
license="BSD"
-depends=
-makedepends=rrdtool-dev
+depends=""
+makedepends="rrdtool-dev"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://memberwebs.com/stef/software/rrdbot/rrdbot-$pkgver.tar.gz
@@ -31,17 +31,21 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
- install -m755 -D "$srcdir"/rrdbotd.initd "$pkgdir"/etc/init.d/rrdbotd
- install -m644 -D "$srcdir"/rrdbotd.confd "$pkgdir"/etc/conf.d/rrdbotd
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+ install -m755 -D "$srcdir"/rrdbotd.initd \
+ "$pkgdir"/etc/init.d/rrdbotd || return 1
+ install -m644 -D "$srcdir"/rrdbotd.confd \
+ "$pkgdir"/etc/conf.d/rrdbotd || return 1
}
-md5sums="8329c8f58136158b25c3179e825c66e6 rrdbot-0.9.6.tar.gz
+md5sums="fb71c9498870b0b16e6a787bddcde44d rrdbot-0.9.7.tar.gz
68d118f9a86c6cf8e718d0f2be210306 rrdbotd.initd
cbcac88f5b728b1441891947a4babbcb rrdbotd.confd"