summaryrefslogtreecommitdiffstats
path: root/main/tcpflow/APKBUILD
blob: 6278f2d5e0cb4cab709793e99d9538a27576f1db (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcpflow
pkgver=1.2.8
pkgrel=1
pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows"
url="https://github.com/simsong/tcpflow/wiki/tcpflow-%E2%80%94-A-tcp-ip-session-reassembler"
arch="all"
license="GPL3"
depends=""
makedepends="libpcap-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 || return 1
}

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

md5sums="6fa51c81fad9d836371903ab14b03f8c  tcpflow-1.2.8.tar.gz"