summaryrefslogtreecommitdiffstats
path: root/main/tcpflow/APKBUILD
blob: b5cdb8034fe4a8d8ce8c74f9c251af9f4906b379 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcpflow
pkgver=0.21
pkgrel=2
pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows"
url="http://www.circlemud.org/~jelson/software/tcpflow/"
arch="all"
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"