summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-11 07:48:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-11 07:49:11 +0000
commit7483fd04e48431f13a0fedf3f980bb0cd7634b38 (patch)
tree9a43be0857bf55485701310a7ff9876cc00d079b /testing
parent69d1a01ed750e087d362c43d717ebcec55289357 (diff)
downloadaports-7483fd04e48431f13a0fedf3f980bb0cd7634b38.tar.bz2
aports-7483fd04e48431f13a0fedf3f980bb0cd7634b38.tar.xz
testing/mrtg: new aport
MRTG Network Latency Monitoring http://oss.oetiker.ch/mrtg/
Diffstat (limited to 'testing')
-rw-r--r--testing/mrtg/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/mrtg/APKBUILD b/testing/mrtg/APKBUILD
new file mode 100644
index 000000000..4066c168a
--- /dev/null
+++ b/testing/mrtg/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Jeff Bilyk<jbilyk at gmail>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mrtg
+pkgver=2.16.4
+pkgrel=0
+pkgdesc="MRTG Network Latency Monitoring"
+url="http://oss.oetiker.ch/mrtg/"
+source="http://oss.oetiker.ch/mrtg/pub/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+depends="perl"
+makedepends="gd-dev libpng-dev zlib-dev"
+license="GPL"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --bindir=/usr/bin \
+ --libdir=/usr/lib/mrtg2 \
+ --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"