summaryrefslogtreecommitdiffstats
path: root/main/tcpflow/APKBUILD
blob: 9d65375d456536915088cba263974b9c8a16e129 (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.3.0
pkgrel=0
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="4912d55b7ae20f4971dfcc86547b2824  tcpflow-1.3.0.tar.gz"