summaryrefslogtreecommitdiff
path: root/community/darkstat/PKGBUILD
blob: 87fd7fbf229a95f18e9e62979bd87d531012d9d2 (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 65108 2012-02-20 04:47:59Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

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

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

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}