From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/mrtg/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/mrtg/PKGBUILD (limited to 'community/mrtg/PKGBUILD') diff --git a/community/mrtg/PKGBUILD b/community/mrtg/PKGBUILD new file mode 100644 index 000000000..344ea6af2 --- /dev/null +++ b/community/mrtg/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 93774 2013-07-10 07:27:14Z bpiotrowski $ +# Maintainer: Giovanni Scafora +# Contributor: Gerardo Exequiel Pozzi + +pkgname=mrtg +pkgver=2.17.4 +pkgrel=2 +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 +} -- cgit v1.2.3-54-g00ecf