Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

pktstat

By: a guest on Sep 24th, 2012  |  syntax: Bash  |  size: 0.64 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: DonVla <donvla@users.sourceforge.net>
  2.  
  3. pkgname=pktstat
  4. pkgver=1.8.5
  5. pkgrel=2
  6. pkgdesc="Real-time interface traffic viewer for curses."
  7. arch=(i686 x86_64)
  8. url="http://www.adaptive-enterprises.com.au/~d/software/pktstat/"
  9. license=('Public Domain')
  10. depends=('ncurses' 'libpcap')
  11. source=("http://ftp.ussg.iu.edu/linux/gentoo/distfiles/${pkgname}-${pkgver}.tar.gz")
  12. md5sums=('0f387f86567eb3da1c329f7b182c3355')
  13. sha256sums=('140b07120eb48f139d588f0d8db792a91227fc7d6e690f0fcad1328dfcafd2c9')
  14.  
  15. build() {
  16.   cd "$srcdir/$pkgname-$pkgver"
  17.  
  18.   ./configure --prefix=/usr
  19.   make
  20.   make DESTDIR="$pkgdir" install
  21. }
  22.  
  23. # vim:set ts=2 sw=2 et: