mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 20:46:41 +02:00
37 lines
957 B
Text
37 lines
957 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=iftop
|
|
pkgver=0.17
|
|
pkgrel=11
|
|
pkgdesc="A tool to display bandwidth usage on an interface"
|
|
url="https://www.ex-parrot.com/~pdw/iftop/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="libpcap-dev>=1 ncurses-dev"
|
|
options="!check" # no tests
|
|
subpackages="$pkgname-doc"
|
|
source="https://www.ex-parrot.com/~pdw/iftop/download/iftop-$pkgver.tar.gz
|
|
format-security.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
41e3bc5feac5927f67356f491fcab7a28f7a32102cc33c67d81c1dc755273c42e32b540b14b6254a540f1b6c1b1ad6c50e3095c3b5282db2ea12dd0049ce2ebd iftop-0.17.tar.gz
|
|
ab478e521c6b460766a8149786c59a3e977f9c44d1b880476baa0c7851a1c6bbf1e998051a25e63aafaf21e629d64cf3336b909c683f8604ffa922ee9e25cd4b format-security.patch
|
|
"
|