summaryrefslogtreecommitdiffstats
path: root/main/iptraf-ng
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-17 11:56:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-17 11:58:46 +0000
commit61d4acf8298fcbcdb0e57b3a132b16d71edeff57 (patch)
treea235e799f16640a42e9881d1789136976f9f9440 /main/iptraf-ng
parentd4cb432f2aca9d95e1a2f27b2bfe6c0c712e5c15 (diff)
downloadaports-61d4acf8298fcbcdb0e57b3a132b16d71edeff57.tar.bz2
aports-61d4acf8298fcbcdb0e57b3a132b16d71edeff57.tar.xz
main/iptraf-ng: replace iptraf
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 000000000..605bcca98
--- /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"