# Contributor: Jeff Bilyk # Maintainer: Natanael Copa pkgname=mrtg pkgver=2.16.4 pkgrel=1 pkgdesc="MRTG Network Latency Monitoring" url="http://oss.oetiker.ch/mrtg/" source="http://oss.oetiker.ch/mrtg/pub/$pkgname-$pkgver.tar.gz mrtg.initd mrtg.confd" subpackages="$pkgname-doc" depends="perl" makedepends="gd-dev libpng-dev zlib-dev" arch="x86 x86_64" license="GPL" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --bindir=/usr/bin \ --libdir=/usr/lib \ --datadir=/usr/share/doc \ --mandir=/usr/share/doc/man \ || return 1 make } package() { cd "$_builddir" make install DESTDIR="$pkgdir" } md5sums="ec298200d239832ff1648fba488e1a9e mrtg-2.16.4.tar.gz 47053d5e51ac8eefe3807d5168219f78 mrtg.initd a8d246d324b90fd1e37cc912d4651372 mrtg.confd"