blob: 605bcca985ed1bcaa83c88f3a7dd4dce1abf0ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=iptraf-ng
pkgver=1.1.3.1
pkgrel=0
pkgdesc="IP Network Monitoring Software (fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
arch="all"
license="GPLv2"
depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/iptraf-ng-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
CFLAGS="$CFLAGS -std=gnu99" ./configure --prefix=/usr \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="1a2c02944b0b012d6a3de96207610fa2 iptraf-ng-1.1.3.1.tar.gz"
|