summaryrefslogtreecommitdiff
path: root/community/darkstat/PKGBUILD
blob: bc5710cc461b34a81af3de2098d5f7f1d75dece2 (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
# $Id: PKGBUILD 50638 2011-06-29 10:55:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=darkstat
pkgver=3.0.714
pkgrel=1
pkgdesc="Network statistics gatherer (packet sniffer)."
url="http://dmr.ath.cx/net/darkstat/"
license=("GPL")
arch=(i686 x86_64 'mips64el')
depends=('libpcap' 'zlib')
source=(http://dmr.ath.cx/net/darkstat/$pkgname-$pkgver.tar.bz2)
md5sums=('eef385fadc8dbb611d3d4c4d8fa94817')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $startdir/src/$pkgname-$pkgver
  make DESTDIR=$startdir/pkg install
}