updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / dnstop / PKGBUILD
blob1e02baa39a2e7389bceba0a0834e28cb6dc766dd
1 # Contributor: Luca Peduto <l.peduto@gmail.com>
2 pkgname=dnstop
3 pkgver=20110502
4 pkgrel=1
5 pkgdesc="A libpcap  application (ala tcpdump) that displays various tables of DNS traffic on your network."
6 url="http://dns.measurement-factory.com/tools/dnstop/index.html"
7 license=('BSD')
8 depends=('libpcap' 'ncurses')
9 arch=('i686' 'x86_64')
10 source=(http://dns.measurement-factory.com/tools/dnstop/src/$pkgname-$pkgver.tar.gz)
11 md5sums=('28cb54f3780b27e15df8924235e4e37b')
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15   ./configure --prefix=/usr --bindir=/usr/bin --mandir=/usr/share
16   make || return 1
17   install -D -m 755 $srcdir/$pkgname-$pkgver/dnstop $pkgdir/usr/bin/dnstop
18   install -D -m 644 $srcdir/$pkgname-$pkgver/dnstop.8 $pkgdir/usr/share/man/man8/dnstop.8
19   install -D -m 644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE