# Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=tcpflow pkgver=1.5.0 pkgrel=0 pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows" url="https://github.com/simsong/tcpflow" arch="all" license="GPL-3.0" depends="" makedepends="libpcap-dev zlib-dev boost-dev openssl-dev autoconf automake" install="" subpackages="$pkgname-doc" source="https://fossies.org/linux/misc/$pkgname-$pkgver.tar.gz configure-missing-m4-files.patch" builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$builddir" sed -i 's/test-pdfs.sh//' tests/Makefile.am autoreconf -fsiv } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="eaf518e5e4d95ea9587542cec16a65a8e1518b54e6c23d84355ce11780c99758346db364ba502f90d938e54b01a1e32807d69ed35afb1e5e378a9a009c5609f5 tcpflow-1.5.0.tar.gz 79f6255ca9f94c8ce94b4f2c9736e5ff0c1b307492a7af6d16ea3a14915df144c3322a5410cc31bcc28d6eddc1dd02b08d77f891ecbdd7f2ca99f0b9f9228b15 configure-missing-m4-files.patch"