# Maintainer: Judd Vinet pkgname=ntop pkgver=3.1 pkgrel=7nnd pkgdesc="A network traffic probe that shows the network usage, similar to what the popular top Unix command does" url="http://www.ntop.org" depends=('libpcap' 'gd' 'glib' 'libxml2' 'openssl' 'gdbm') source=(http://dl.sourceforge.net/sourceforge/ntop/ntop-$pkgver.tgz rc.ntop ) md5sums=('1c9b4097c2e464b84f2fe8f6626d2b06' '5bae765e52f95be289be0a7d8339266f') build() { cd $startdir/src/$pkgname ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=$startdir/pkg install install -d -m755 --owner=nobody --group=nobody $startdir/pkg/var/ntop install -D -m755 $startdir/src/rc.ntop $startdir/pkg/etc/rc.d/ntop }