summaryrefslogtreecommitdiffstats
path: root/main/iftop
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-12-21 20:14:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 13:03:39 +0000
commit969976286c20a45d6ba8d04179adea29460f13e5 (patch)
treeed62574f35dab94ac1c9c60517d03cba314fea23 /main/iftop
parent2cce7be5fa29c5013f4e849bf96871d04bd1c88d (diff)
downloadaports-969976286c20a45d6ba8d04179adea29460f13e5.tar.bz2
aports-969976286c20a45d6ba8d04179adea29460f13e5.tar.xz
main/iftop: specify license
Diffstat (limited to 'main/iftop')
-rw-r--r--main/iftop/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD
index 32af2929f..5edfe526f 100644
--- a/main/iftop/APKBUILD
+++ b/main/iftop/APKBUILD
@@ -1,12 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iftop
pkgver=0.17
-pkgrel=3
-pkgdesc="iftop does for network usage what top(1) does for CPU usage"
+pkgrel=4
+pkgdesc="A tool to display bandwidth usage on an interface"
url="http://www.ex-parrot.com/~pdw/iftop/"
arch="all"
-license="GPL"
-depends=
+license="GPL2"
+depends=""
makedepends="libpcap-dev>=1 ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz"
@@ -25,11 +25,14 @@ build() {
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
- make
+ make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
}
+
md5sums="062bc8fb3856580319857326e0b8752d iftop-0.17.tar.gz"
+sha256sums="d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac iftop-0.17.tar.gz"
+sha512sums="41e3bc5feac5927f67356f491fcab7a28f7a32102cc33c67d81c1dc755273c42e32b540b14b6254a540f1b6c1b1ad6c50e3095c3b5282db2ea12dd0049ce2ebd iftop-0.17.tar.gz"