mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-08 09:21:30 +01:00
27 lines
1011 B
Plaintext
27 lines
1011 B
Plaintext
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=nethogs
|
|
pkgver=0.8.6
|
|
pkgrel=0
|
|
pkgdesc="Top-like monitor for network traffic"
|
|
url="https://github.com/raboof/nethogs"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="libpcap-dev linux-headers ncurses-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/raboof/nethogs/archive/v$pkgver.tar.gz
|
|
set-version.patch"
|
|
|
|
build() {
|
|
VERSION="$pkgver" make nethogs
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 src/nethogs "$pkgdir"/usr/sbin/nethogs
|
|
install -Dm644 doc/nethogs.8 "$pkgdir"/usr/share/man/man8/nethogs.8
|
|
}
|
|
|
|
sha512sums="1116f2e57bbf4d9213080598d04ff41c9ae28bd3e5c45c99068c783beb109eff3ffb02f9c3610f20ef0aa53606b3c500917d5d6983496599904d8c5a35cf2a6f nethogs-0.8.6.tar.gz
|
|
81d44aea5fa585d80a52f562b308046d6d173e277ab6fdc1e289eda65cfcfbd5bec379c70eb94052a86d8f2e008dc44be3894fca8d74c5b6754753e609422b3e set-version.patch"
|