36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Template file for 'tcpflow'
|
|
pkgname=tcpflow
|
|
version=1.5.2
|
|
revision=3
|
|
create_wrksrc=yes
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake"
|
|
makedepends="libpcap-devel zlib-devel openssl-devel boost-devel"
|
|
short_desc="Captures data transmitted as part of TCP connections"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/simsong/tcpflow"
|
|
_be20_commit=c81521d768bb78499c069fcd7c47adc8eee0350c
|
|
_dfxml_commit=c31224626cf5f6678d42cbcfbfcd4e6191c9a864
|
|
_httpparser_commit=6b05cce82da5c4d407e5576ab892bc20a17b0394
|
|
distfiles="https://github.com/simsong/tcpflow/archive/${pkgname}-${version}.tar.gz
|
|
https://github.com/nodejs/http-parser/archive/$_httpparser_commit.tar.gz
|
|
https://github.com/simsong/be20_api/archive/$_be20_commit.tar.gz
|
|
https://github.com/simsong/dfxml/archive/$_dfxml_commit.tar.gz"
|
|
checksum="c4138dbf2ed9915aed92e8f5cd6d19db2c7d1caeb02191939d0bfa15e52fe600
|
|
b947bd185511fd28a12a30436bcbe8f765473a667cdb6f8f55888274d44f550f
|
|
c98cface83e074be790293bb1041df8968ef385a196e0990f5174883d2e1d8f4
|
|
358e4d3599c6e26f1dff85066e15e86025fc537466e8f4e35924922886eed86b"
|
|
|
|
post_extract() {
|
|
mv tcpflow-*/* .
|
|
rmdir src/{dfxml,be13_api,http-parser}
|
|
mv be??_api-$_be20_commit src/be13_api
|
|
mv dfxml-$_dfxml_commit src/dfxml
|
|
mv http-parser-$_httpparser_commit src/http-parser
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|