pv: new recipe (#1564)

This commit is contained in:
Schrijvers Luc
2017-08-07 09:16:23 +00:00
committed by Jérôme Duval
parent ab6d8aa976
commit b09cde0277

View File

@@ -0,0 +1,56 @@
SUMMARY="A terminal-based tool for monitoring \
the progress of data through a pipeline"
DESCRIPTION="pv - Pipe Viewer - is a terminal-based tool for monitoring \
the progress of data through a pipeline. It can be inserted into any \
normal pipeline between two processes to give a visual indication of how \
quickly data is passing through, how long it has taken, how near to \
completion it is, and an estimate of how long it will be until completion. \
Additional support is available for multiple instances working in tandem, \
to given a visual indicator of relative throughput in a complex pipeline."
HOMEPAGE="http://www.ivarch.com/programs/pv.shtml"
COPYRIGHT="2015 Andrew Wood"
LICENSE="Artistic v2.0"
REVISION="1"
SOURCE_URI="http://www.ivarch.com/programs/sources/pv-$portVersion.tar.gz"
CHECKSUM_SHA256="94defb4183ae07c44219ba298d43c4991d6e203c29f74393d72ecad3b090508a"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
parted = $portVersion
cmd:pv
"
REQUIRES="
haiku
lib:libintl
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
"
BUILD_PREREQUIRES="
cmd:awk
cmd:find
cmd:gcc
cmd:make
cmd:pkg_config
"
BUILD()
{
runConfigure ./configure --disable-ipc
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}