aboutsummaryrefslogtreecommitdiffstats
path: root/main/iftop/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-05 16:55:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-05 16:55:06 +0000
commitcd0d62404b2a75051f22d145a2c1332e8f96dfaa (patch)
treeaff2db0064e6806111489a29b5bd0e67a031b631 /main/iftop/APKBUILD
parent15cd2d0438316c4fb1d39f1b1fb8aff34d5e5f73 (diff)
downloadaports-cd0d62404b2a75051f22d145a2c1332e8f96dfaa.tar.bz2
aports-cd0d62404b2a75051f22d145a2c1332e8f96dfaa.tar.xz
main/iftop: moved from testing
Diffstat (limited to 'main/iftop/APKBUILD')
-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"