aboutsummaryrefslogtreecommitdiffstats
path: root/main/iptraf-ng
diff options
context:
space:
mode:
Diffstat (limited to 'main/iptraf-ng')
-rw-r--r--main/iptraf-ng/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/iptraf-ng/APKBUILD b/main/iptraf-ng/APKBUILD
new file mode 100644
index 0000000000..605bcca985
--- /dev/null
+++ b/main/iptraf-ng/APKBUILD
@@ -0,0 +1,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"