summaryrefslogtreecommitdiffstats
path: root/main/collectd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:49:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:49:12 +0000
commit3476b186da94c49e227d51a345ed46b810497cf2 (patch)
tree9cac91cc3bdd8d9bdd84afc5bfdaae4e8fa6e96d /main/collectd/APKBUILD
parentb4bc4bb052ae4b730f3435c125e28b6101dfc494 (diff)
downloadaports-3476b186da94c49e227d51a345ed46b810497cf2.tar.bz2
aports-3476b186da94c49e227d51a345ed46b810497cf2.tar.xz
main/collectd: upgrade to 5.0.0
Diffstat (limited to 'main/collectd/APKBUILD')
-rw-r--r--main/collectd/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 524b6c74c..e26660e6e 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -1,8 +1,8 @@
# Contributor:
# Maintainer:
pkgname=collectd
-pkgver=4.10.3
-pkgrel=2
+pkgver=5.0.0
+pkgrel=0
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
arch="all"
@@ -30,8 +30,10 @@ prepare() {
done
# we need -lm
sed -i -e 's/^collectd_LDADD = \(.*\)/collectd_LDADD = -lm \1/' \
- -e 's/^collectd_nagios_LDADD = \(.*\)/collectd_nagios_LDADD = -lm \1/' src/Makefile.in
-
+ -e 's/^collectd_nagios_LDADD = \(.*\)/collectd_nagios_LDADD = -lm \1/' \
+ src/Makefile.in || return 1
+ sed -i -e 's/_LIBADD =/_LIBADD = -lm/' \
+ src/libcollectdclient/Makefile.in || return 1
}
build() {
@@ -42,7 +44,7 @@ build() {
--infodir=/usr/share/info \
--localstate=/var \
|| return 1
- make || return 1
+ make LDADD='-lm' || return 1
# disable network plugin by default since its in a subpackage
sed -i -e 's/^LoadPlugin network/#LoadPlugin network/' \
src/collectd.conf
@@ -83,6 +85,6 @@ postgresql() { _plugin postgresql; }
mysql() { _plugin mysql; }
network() { _plugin network; }
-md5sums="5f17bfd7342af4f97f78c608f1d1eb1d collectd-4.10.3.tar.bz2
+md5sums="7bfea6e82d35b36f16d1da2c71397213 collectd-5.0.0.tar.bz2
38f2ac1754e0dc0fcc70a04574cc7437 collectd-4.10.3-iptc-check.patch
13a36ae2f92634b5619ab94224e1b77d collectd.initd"