summaryrefslogtreecommitdiffstats
path: root/main/tcpflow/APKBUILD
blob: e5c3d3c72829fd9fcfb796e3eb60692f23b5dfc6 (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
29
30
31
32
33
34
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcpflow
pkgver=1.3.0
pkgrel=0
pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows"
url="https://github.com/simsong/tcpflow"
arch="all"
license="GPL3"
depends=""
makedepends="libpcap-dev zlib-dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/downloads/simsong/tcpflow/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make check || return 1
	make || return 1
}

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

md5sums="4912d55b7ae20f4971dfcc86547b2824  tcpflow-1.3.0.tar.gz"
sha256sums="bd150e432292419b16af45fa951254b19d830709a1c931032ed475049af0b040  tcpflow-1.3.0.tar.gz"
sha512sums="4812bb4060535f6258496fec1fa5d9489e2832aa342ebb6f00e0717468d74463761637d5198951401d115f6d9c985475f56a435229070fa30f4fbc581f0c5587  tcpflow-1.3.0.tar.gz"