diff options
Diffstat (limited to 'extra/mrtg/PKGBUILD')
-rw-r--r-- | extra/mrtg/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/mrtg/PKGBUILD b/extra/mrtg/PKGBUILD new file mode 100644 index 000000000..8df4acbdc --- /dev/null +++ b/extra/mrtg/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 116027 2011-03-22 16:10:12Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> + +pkgname=mrtg +pkgver=2.17.2 +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=('f4c251ef883da2509188711eff4577ad') + +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 +} |