SUMMARY="A graphical front-end for GCC's coverage testing tool gcov"
DESCRIPTION="collects gcov data for multiple source files and \
creates HTML pages containing the source code annotated with \
coverage information. It also adds overview pages for easy \
navigation within the file structure. LCOV supports statement, \
function and branch coverage measurement."
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
COPYRIGHT="2002 - 2016 The lcov Developers"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/linux-test-project/lcov/releases/download/v$portVersion/lcov-$portVersion.tar.gz"
CHECKSUM_SHA256="14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a"
PATCHES="lcov-$portVersion.patchset"

ARCHITECTURES="any"

PROVIDES="
	lcov = $portVersion
	cmd:gendesc
	cmd:genhtml
	cmd:geninfo
	cmd:genpng
	cmd:lcov
	"
REQUIRES="
	haiku
	perl
	"

BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	cmd:make
	cmd:perl
	"

INSTALL()
{
	make install CFG_DIR=/etc BIN_DIR=$binDir MAN_DIR=$manDir
}
