mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
23 lines
648 B
Bash
23 lines
648 B
Bash
|
# $Id: PKGBUILD 36642 2009-04-26 19:44:51Z giovanni $
|
||
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
||
|
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
||
|
|
||
|
pkgname=mrtg
|
||
|
pkgver=2.16.2
|
||
|
pkgrel=2
|
||
|
pkgdesc="Multi Router Traffic Grapher."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://oss.oetiker.ch/mrtg/"
|
||
|
license=('GPL2')
|
||
|
depends=('gd' 'perl')
|
||
|
source=(http://oss.oetiker.ch/mrtg/pub/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('06de09c0ee0d35a0142afed5b275b4cd')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||
|
sed 's|LD_RUN_PATH=$(LD_RUN_PATH) ||g' -i Makefile.in
|
||
|
./configure --prefix=/usr
|
||
|
make || return 1
|
||
|
make prefix=${pkgdir}/usr install
|
||
|
}
|