aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipt-netflow/APKBUILD
blob: 3c62b0284c485367a78fd2d6e7f802d804f6f288 (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
# Contributor: Rush Future <rush.zlo@gmail.com>
# Maintainer: Rush Future <rush.zlo@gmail.com>

pkgname=ipt-netflow
pkgver=1.8.4
pkgrel=0
pkgdesc="Kernel netflow sensor"
url="http://ipt-netflow.sourceforge.net."
arch="all"
license="LGPL"
makedepends="iptables-dev bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/RushOnline/$pkgname/archive/v${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$_builddir"
	./configure
	make libipt_NETFLOW.so || return 1
}

package() {
	cd "$_builddir"
	make linstall DESTDIR=$pkgdir || return 1
}

md5sums="a5d564dd5f30d5b61a93decf29e3a208  ipt-netflow-1.8.4.tar.gz"
sha256sums="bb2446a0b16aa7f6052599410c2b4ce184d40893ec2ca12756f3bcb341890f43  ipt-netflow-1.8.4.tar.gz"
sha512sums="e15ad33b4b3df9e1e53fbac6334dbe08802d66f4850cbf489d7a60184cdb47d94448ae13480d586474a6bec6204680d059543b619ae40a0f74fad22fed1b024a  ipt-netflow-1.8.4.tar.gz"