diff options
author | Andrew Manison <amanison@anselsystems.com> | 2011-12-11 17:10:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-30 08:34:44 +0000 |
commit | 076203f13fd5b7161fe90a0d7bc1c593879b5931 (patch) | |
tree | be17696d20f5b2a4d3743dfbf8089b5f1287ca5f /testing/nfdump | |
parent | 6da44a2076421c57c05bfbbe39b43452d68f727f (diff) | |
download | aports-076203f13fd5b7161fe90a0d7bc1c593879b5931.tar.bz2 aports-076203f13fd5b7161fe90a0d7bc1c593879b5931.tar.xz |
nfdump: New package added
Diffstat (limited to 'testing/nfdump')
-rw-r--r-- | testing/nfdump/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/nfdump/APKBUILD b/testing/nfdump/APKBUILD new file mode 100644 index 0000000000..568519374e --- /dev/null +++ b/testing/nfdump/APKBUILD @@ -0,0 +1,43 @@ +# 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" |