aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd/APKBUILD
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-01-29 20:57:02 +0000
committerJeff Bilyk <jbilyk@gmail.com>2012-01-29 20:57:02 +0000
commitf4189ec21cb01b2e7b3b5f2766d74b533e98b118 (patch)
tree363fb0cb98c96eec6b5ce965fce7d25d80aaa577 /main/collectd/APKBUILD
parent162bee4b1df6568cd0945645c770dcfd407ad453 (diff)
downloadaports-f4189ec21cb01b2e7b3b5f2766d74b533e98b118.tar.bz2
aports-f4189ec21cb01b2e7b3b5f2766d74b533e98b118.tar.xz
main/collectd: add rrdtool plugin
Add rrdtool plugin to collectd package
Diffstat (limited to 'main/collectd/APKBUILD')
-rw-r--r--main/collectd/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 5f114fb424..cb581a041e 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -2,18 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=collectd
pkgver=5.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
arch="all"
license="GPL"
depends=
makedepends="pkgconfig curl-dev net-snmp-dev postgresql-dev perl-dev
- libgcrypt-dev mysql-dev zlib-dev openssl-dev iptables-dev"
+ libgcrypt-dev mysql-dev zlib-dev openssl-dev iptables-dev rrdtool-dev"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-snmp $pkgname-curl
$pkgname-write_http $pkgname-nginx $pkgname-apache $pkgname-postgresql
- $pkgname-mysql $pkgname-network"
+ $pkgname-mysql $pkgname-network $pkgname-rrdtool"
source="http://collectd.org/files/collectd-$pkgver.tar.bz2
collectd.initd"
@@ -44,6 +44,7 @@ build() {
--infodir=/usr/share/info \
--localstate=/var \
--with-libiptc \
+ --enable-rrdtool \
|| return 1
make LDADD='-lm' || return 1
# disable network plugin by default since its in a subpackage
@@ -87,6 +88,7 @@ apache() { _plugin apache; }
postgresql() { _plugin postgresql; }
mysql() { _plugin mysql; }
network() { _plugin network; }
+rrdtool() { _plugin rrdtool; }
md5sums="9ad1e4334bd4a671284e8e92a3e3323e collectd-5.0.1.tar.bz2
13a36ae2f92634b5619ab94224e1b77d collectd.initd"