updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nfdump / PKGBUILD
bloba3b209f846887f9aa7c99430f243717bae161fcd
1 # Maintainer: Rudy Matela <rudy.matela@gmail.com>
2 pkgname=nfdump
3 pkgver=1.6.1
4 pkgrel=1
5 pkgdesc="A set of tools to collect and process netflow data."
6 arch=('i686' 'x86_64')
7 url="http://nfdump.sourceforge.net/"
8 license=('BSD')
9 depends=('glibc')
10 makedepends=('flex' 'bison')
11 source=("http://downloads.sourceforge.net/nfdump/$pkgname-$pkgver.tar.gz")
12 md5sums=('02646022b2ae01131cb1fd5231393a8a')
14 build() {
15         cd "$srcdir/$pkgname-$pkgver"
17         ./configure --prefix=/usr
18         make
21 package() {
22         cd "$srcdir/$pkgname-$pkgver"
24         make DESTDIR="$pkgdir/" install
25         mkdir -p $pkgdir/usr/share/licenses/nfdump
26         install -m644 "$srcdir/$pkgname-$pkgver/COPYING" $pkgdir/usr/share/licenses/nfdump