summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
blob: 86075450f9c8a6d8238cb43e3059eacee7fd173b (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
# $Id: PKGBUILD 160611 2012-06-02 21:10:00Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>

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

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --sbindir=/usr/sbin
  make CFLAGS="$CFLAGS -std=gnu99"
}

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