SUMMARY="A fast compiler cache"
DESCRIPTION="
ccache is a compiler cache. It speeds up recompilation by caching previous \
compilations and detecting when same compilation is being done again. \
Supported languages are C, C++, Objective-C and Objective-C++.
"
HOMEPAGE="http://ccache.samba.org/"
SRC_URI="http://samba.org/ftp/ccache/ccache-3.1.9.tar.bz2"
CHECKSUM_SHA256="04d3e2e438ac8d4cc4b110b68cdd61bd59226c6588739a4a386869467f5ced7c"
REVISION="1"

LICENSE="GNU GPL v3"
COPYRIGHT="2002-2007 Andrew Tridgell
	2009-2013 Joel Rosdahl"


ARCHITECTURES="x86 x86_gcc2"

PROVIDES="
	ccache = $portVersion
	cmd:ccache
	"

REQUIRES="
	haiku >= $haikuVersion
	lib:libz >= 1
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

BUILD()
{
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
