mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
tcpflow: fix build
This commit is contained in:
parent
cd2fc78e1e
commit
068b6a25a5
1 changed files with 12 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=tcpflow
|
||||
version=1.5.2
|
||||
revision=3
|
||||
wrksrc="$pkgname-$pkgname-$version"
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake"
|
||||
makedepends="libpcap-devel zlib-devel openssl-devel boost-devel"
|
||||
|
@ -10,22 +10,26 @@ 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"
|
||||
_be13_commit=c81521d768bb78499c069fcd7c47adc8eee0350c
|
||||
_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/be13_api/archive/$_be13_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
|
||||
a682edf8469b7130b52e6f12dc7beea4bb60d4834d6de42904a3c0a1425cd5fe
|
||||
c98cface83e074be790293bb1041df8968ef385a196e0990f5174883d2e1d8f4
|
||||
358e4d3599c6e26f1dff85066e15e86025fc537466e8f4e35924922886eed86b"
|
||||
|
||||
pre_configure() {
|
||||
post_extract() {
|
||||
mv tcpflow-*/* .
|
||||
rmdir src/{dfxml,be13_api,http-parser}
|
||||
ln -fsr ../be13_api-$_be13_commit src/be13_api
|
||||
ln -fsr ../dfxml-$_dfxml_commit src/dfxml
|
||||
ln -fsr ../http-parser-$_httpparser_commit src/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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue