summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
blob: c1593204832ac9f3abe71c32de5eb99125d51707 (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
# $Id: PKGBUILD 119065 2011-04-10 18:53:50Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>

pkgname=iptraf-ng
pkgver=1.0.2
pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
options=('!libtool')
source=(https://fedorahosted.org/releases/i/p/iptraf-ng/${pkgname}-${pkgver}.tar.gz)
md5sums=('b2adbbbee4c269fb97a1951981c9047c')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static
  make CFLAGS="$CFLAGS"
}

package() {
  cd "$srcdir/${pkgname}-${pkgver}"
  make DESTDIR=$pkgdir install
}

# vim: ts=2: ft=sh