1 # Contributor: Mirko Messer <mirk@chao.ch>
2 # Maintainer: Steven Allen <steven@stebalien.com>
8 pkgdesc="An open source packet sniffer and a LAN analyzer based on Libnet and Libpcap."
9 url="http://nast.berlios.de/"
11 depends=('ncurses' 'libpcap' 'libnet')
13 source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('77cbab45f5850d6cdb7ecb10e291bfa7')
17 cd "$srcdir/$pkgname-$pkgver"
18 sed -i -e 's/libpcap_a/libpcap_so/g' -e 's/libpcap\.a/libpcap.so/g' ./configure{,.ac}
19 ./configure --prefix=/usr --mandir='${prefix}/share/man'
24 cd "$srcdir/$pkgname-$pkgver"
25 install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man8"
26 make prefix="$pkgdir/usr" install