aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/iptraf-ng/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/main/iptraf-ng/APKBUILD b/main/iptraf-ng/APKBUILD
index d964d738c1..acb2d2991c 100644
--- a/main/iptraf-ng/APKBUILD
+++ b/main/iptraf-ng/APKBUILD
@@ -2,17 +2,16 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=iptraf-ng
pkgver=1.1.4
-pkgrel=0
-pkgdesc="IP Network Monitoring Software (fork of original iptraf)"
+pkgrel=1
+pkgdesc="An IP Network Monitoring tool"
url="https://fedorahosted.org/iptraf-ng/"
arch="all"
-license="GPLv2"
-depends=
+license="GPL2"
+depends=""
makedepends="ncurses-dev"
-install=
+install=""
subpackages="$pkgname-doc"
-source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz
- "
+source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/iptraf-ng-$pkgver
prepare() {
@@ -24,7 +23,6 @@ prepare() {
done
}
-
build() {
cd "$_builddir"
CFLAGS="$CFLAGS -D_GNU_SOURCE -std=gnu99" ./configure \
@@ -32,12 +30,12 @@ build() {
--host=$CHOST \
--prefix=/usr \
|| return 1
- make
+ make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="de27cfeeede96e2acfb0edc8439b034a iptraf-ng-1.1.4.tar.gz"