Commit 2c4bbae5 authored by Andrew Manison's avatar Andrew Manison

nfdump: New package added

parent cbc20be1
# Contributor:
# Maintainer:
pkgname=nfdump
pkgver=1.6.4
pkgrel=0
pkgdesc="The nfdump tools collect and process netflow data on the command line."
url="http://nfdump.sourceforge.net/"
arch="all"
license="bsd"
depends=""
depends_dev=""
makedepends="bison flex $depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure || make || return 1
}
doc() {
mkdir -p "$subpkgdir"
default_doc
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="a5ab5657da78f0f57ac7d29f31883949 nfdump-1.6.4.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment