diff options
Diffstat (limited to 'community/iftop/PKGBUILD')
-rw-r--r-- | community/iftop/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/iftop/PKGBUILD b/community/iftop/PKGBUILD new file mode 100644 index 000000000..763ae31ed --- /dev/null +++ b/community/iftop/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 17240 2010-05-22 14:21:13Z daenyth $ +# Maintainer: Daenyth <Daenyth+Arch at gmail dot com> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org> +# Contributor: slubman <slubman@slubman.net> + +pkgname=iftop +pkgver=0.17 +pkgrel=9 +pkgdesc="iftop does for network usage what top(1) does for CPU usage" +arch=('i686' 'x86_64') +url="http://www.ex-parrot.com/~pdw/iftop/" +license=('GPL') +depends=('libpcap>=1.0.0' 'ncurses') +options=('!makeflags') +source=(http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz) +md5sums=('062bc8fb3856580319857326e0b8752d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |