SUMMARY="A fast dependency generator for C/C++ files"
DESCRIPTION="fastdep is a preprocessor which generates dependency information \
suitable for Makefile inclusion from C or C++ source files. Meant to run on \
slower hardware, it is several orders of magnitude faster than gcc."
HOMEPAGE="http://www.irule.be/bvh/c++/fastdep/"
SOURCE_URI="http://ports-space.haiku-files.org/dev-util/source/fastdep-0.16.tar.gz"
CHECKSUM_SHA256="ce87d5aba71a38ad175c831f4f380498e04c22d75478310299812485b3202abb"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2003 Bart Vanhauwaert"

ARCHITECTURES="x86 x86_gcc2"

PATCHES="fastdep-0.16.patch"

PROVIDES="
	cmd:fastdep = $portVersion compat >= 0
	"
REQUIRES="
	haiku
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

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

INSTALL()
{
	mkdir -p $binDir
	cp -f fastdep $binDir
}
