summaryrefslogtreecommitdiffstats
path: root/main/tcpflow/APKBUILD
blob: ce32707213a589630f7b11af6f59aad28fadcbae (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=0.21
pkgrel=1
pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows"
url="http://www.circlemud.org/~jelson/software/tcpflow/"
license="GPL"
depends=
makedepends="libpcap-dev"
install=
subpackages="$pkgname-doc"
source="http://www.circlemud.org/pub/jelson/tcpflow/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install

}

md5sums="45a5aef6f043312315b7f342afc4a9c5  tcpflow-0.21.tar.gz"