aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdcollect
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-23 16:22:29 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 19:36:33 +0000
commit55ad9f328166cabe01d05c26ec013b95eb410752 (patch)
tree6da8940155721b6cccebeaa763a814566387eac1 /main/rrdcollect
parente21d96886342a984f2aa1fa87b5e3801fe914c0a (diff)
downloadaports-55ad9f328166cabe01d05c26ec013b95eb410752.tar.bz2
aports-55ad9f328166cabe01d05c26ec013b95eb410752.tar.xz
main/rrdcollect: upgrade to 0.2.10
Diffstat (limited to 'main/rrdcollect')
-rw-r--r--main/rrdcollect/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/main/rrdcollect/APKBUILD b/main/rrdcollect/APKBUILD
index 56e6499aa1..5cebb462ed 100644
--- a/main/rrdcollect/APKBUILD
+++ b/main/rrdcollect/APKBUILD
@@ -1,19 +1,19 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=rrdcollect
-pkgver=0.2.9
-pkgrel=2
+pkgver=0.2.10
+pkgrel=0
pkgdesc="Read system statistical data and feed it to RRDtool"
url="http://rrdcollect.sourceforge.net/"
arch="all"
-license="GPL"
+license="GPL2+"
depends="rrdtool"
makedepends="libpcap-dev"
-install=
+install=""
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- rrdcollect.conf.patch
- rrdcollect.initd"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+ rrdcollect.conf.patch
+ rrdcollect.initd"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -30,24 +30,23 @@ prepare() {
build() {
cd "$_builddir"
-
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc/rrdcollect \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
-
+ make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/rrdcollect.initd \
"$pkgdir"/etc/init.d/rrdcollect || return 1
install -m755 -d "$pkgdir"/var/lib/rrdtool || return 1
}
-md5sums="1e94eb0f8d55ebf0f042c10baebc2d3d rrdcollect-0.2.9.tar.gz
+md5sums="138e21fc9f2de0b8b6c89f1506394ef8 rrdcollect-0.2.10.tar.bz2
e09d7a588e31c9ecfc44fd1747ad732b rrdcollect.conf.patch
d5a892939ee11351f6bbbf9218694f8b rrdcollect.initd"