summaryrefslogtreecommitdiff
path: root/community/mrtg
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
committerroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
commite0e1ffb6dccdc48c2448cfd79dac3ccbbed96c75 (patch)
treefdc608fa0b41862bfce4aa0f5c62d50f23e88561 /community/mrtg
parent2586a8c75ef351dbd1b31605644e101e92d2c280 (diff)
Sun Jan 6 01:07:49 PST 2013
Diffstat (limited to 'community/mrtg')
-rw-r--r--community/mrtg/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/mrtg/PKGBUILD b/community/mrtg/PKGBUILD
new file mode 100644
index 000000000..ac3238d72
--- /dev/null
+++ b/community/mrtg/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 81983 2013-01-05 08:47:24Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+
+pkgname=mrtg
+pkgver=2.17.4
+pkgrel=1
+pkgdesc="Multi Router Traffic Grapher."
+arch=('i686' 'x86_64')
+url="http://oss.oetiker.ch/mrtg/"
+license=('GPL')
+depends=('gd' 'perl')
+source=("http://oss.oetiker.ch/mrtg/pub/${pkgname}-${pkgver}.tar.gz")
+md5sums=('197565e97f97212eef7b414463c8d40c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed 's|LD_RUN_PATH=$(LD_RUN_PATH) ||g' -i Makefile.in
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix=${pkgdir}/usr install
+}