mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
49 lines
1.2 KiB
Bash
49 lines
1.2 KiB
Bash
SUMMARY="Analyze HTTP streams from the command line"
|
|
DESCRIPTION="A command line utility helps to capture and dump HTTP stream."
|
|
HOMEPAGE="https://github.com/six-ddc/httpflow"
|
|
COPYRIGHT="2020 dudongcheng"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
|
SOURCE_FILENAME="httpflow-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2347bd416641e165669bf1362107499d0bc4524ed9bfbb273ccd3b3dd411e89c"
|
|
PATCHES="httpflow-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
httpflow$secondaryArchSuffix = $portVersion
|
|
cmd:httpflow = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpcap$secondaryArchSuffix
|
|
lib:libpcre$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libpcap$secondaryArchSuffix
|
|
devel:libpcre$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchPrefix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchPrefix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
cp httpflow $binDir
|
|
}
|