aboutsummaryrefslogtreecommitdiffstats
path: root/main/iptraf-ng/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-12-21 22:03:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 13:03:41 +0000
commitb3dd1fd895e81835206d434b202b221dea3bae67 (patch)
tree9e9525c4a1446733a3a2d125bf16328fe2f2f744 /main/iptraf-ng/APKBUILD
parent7b970883758dc2e302b1b4547e2b512af7f8b3a7 (diff)
downloadaports-b3dd1fd895e81835206d434b202b221dea3bae67.tar.bz2
aports-b3dd1fd895e81835206d434b202b221dea3bae67.tar.xz
main/iptraf-ng: update layout
Diffstat (limited to 'main/iptraf-ng/APKBUILD')
-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"