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="2"
SOURCE_URI="http://www.ivarch.com/programs/sources/pv-$portVersion.tar.gz"
CHECKSUM_SHA256="94defb4183ae07c44219ba298d43c4991d6e203c29f74393d72ecad3b090508a"

ARCHITECTURES="all"

PROVIDES="
	pv = $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
}
