Commit 142ebc45 authored by Leonardo Arena's avatar Leonardo Arena

main/nfdump: move nfprofile and its RRD dependencies into a subpkg

parent ce5a7529
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nfdump
pkgver=1.6.9
pkgrel=1
pkgrel=2
pkgdesc="The nfdump tools collect and process netflow data on the command line."
url="http://nfdump.sourceforge.net/"
arch="all"
......@@ -10,7 +10,7 @@ depends=""
depends_dev=""
makedepends="bison flex $depends_dev rrdtool-dev"
install=""
subpackages="$pkgname-doc"
subpackages="$pkgname-doc nfprofile"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
nfcapd.confd
nfcapd.initd"
......@@ -47,6 +47,14 @@ package() {
"$pkgdir"/etc/conf.d/nfcapd
}
nfprofile() {
pkgdesc="Create views of the data with NFdump filters"
depends="nfdump"
cd "$_builddir"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/nfprofile "$subpkgdir"/usr/bin || return 1
}
md5sums="6c0adfcfdacd402f2251006b4c962e3f nfdump-1.6.9.tar.gz
541c45b9ac0e85ac955dd58919972b18 nfcapd.confd
b084778684f622eb705980e500ec346b nfcapd.initd"
......
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