mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 18:04:54 +02:00
31 lines
843 B
Text
31 lines
843 B
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=iptraf-ng
|
|
pkgver=1.2.2
|
|
pkgrel=0
|
|
pkgdesc="An IP Network Monitoring tool"
|
|
url="https://github.com/iptraf-ng/iptraf-ng"
|
|
arch="all"
|
|
license=" GPL-2.0-only"
|
|
makedepends="ncurses-dev linux-headers"
|
|
options="!check" # no test suite
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/iptraf-ng/iptraf-ng/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
make CFLAGS="$CFLAGS \
|
|
-std=gnu99 -D_GNU_SOURCE" \
|
|
prefix=/usr \
|
|
sbindir_relative=bin
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" \
|
|
prefix=/usr \
|
|
sbindir_relative=bin \
|
|
install
|
|
}
|
|
|
|
sha512sums="
|
|
275a345ffd3ab9578c4d159c3a8667326224b4a58b2e7787c4db518b81973d87c04b4b6c5275a721858d01a9b44a0200f8defc06c6f88655aa38d4fa6146ea1d iptraf-ng-1.2.2.tar.gz
|
|
"
|