blob: 97c9a6007870c52f188257e927fb6ca00335782d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 143911 2011-11-30 20:31:37Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=mrtg
pkgver=2.17.2
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=('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
}
|