updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / bwstats / PKGBUILD
blobe5cc31f265d95e247c8ba4eedca65993fa954a7c
1 # Maintainer: Ron Collinson <notthinking@gmail.com>
2 # Contributor: Rafael G. Martins <rafael@rafaelmartins.com>
3 # Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
5 pkgname=bwstats
6 pkgver=0.1.0
7 pkgrel=2
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 pkgdesc="A daemon which grabs bandwidth data and generates a flow chart diagram"
11 depends=('gd' 'libpng')
12 source=(http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
13 url="http://developer.berlios.de/projects/bwstats/"
14 md5sums=('316669381c644aefb25c7cc7b2b40fdc')
16 build() {
17           cd ${srcdir}/${pkgname}-${pkgver}
18             ./configure --prefix=/usr --with-gd
19               CFLAGS="${CFLAGS} -lgd" make CFLAGS="${CFLAGS} -lgd" || return 1
20                 make DESTDIR=${pkgdir} PREFIX=${pkgdir} install