aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-11-05 18:16:38 +0000
committerMichael Mason <ms13sp@gmail.com>2009-11-05 18:16:38 +0000
commita1501005bd05c288bc9940770eadfc2ddbb41ddf (patch)
tree75038dbe35ddbb3e434004c116cb2615ace645e0 /main
parent74fe7c56decc313f462f38a37e728018b5117831 (diff)
parent6d5cf6ed0452946711e3fdf878cc6748b498c190 (diff)
downloadaports-a1501005bd05c288bc9940770eadfc2ddbb41ddf.tar.bz2
aports-a1501005bd05c288bc9940770eadfc2ddbb41ddf.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'main')
-rw-r--r--main/iftop/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD
new file mode 100644
index 0000000000..db210d4933
--- /dev/null
+++ b/main/iftop/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=iftop
+pkgver=0.17
+pkgrel=0
+pkgdesc="iftop does for network usage what top(1) does for CPU usage"
+url="http://www.ex-parrot.com/~pdw/iftop/"
+license="GPL"
+depends=
+makedepends="libpcap-dev>=1 ncurses-dev"
+subpackages="$pkgname-doc"
+source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+md5sums="062bc8fb3856580319857326e0b8752d iftop-0.17.tar.gz"