SUMMARY="Flexible Filesystem Benchmark"
DESCRIPTION="
The Flexible Filesystem Benchmark (FFSB) is a cross-platform filesystem \
performance measurement tool. It uses customizable profiles to measure of \
different workloads, and it supports multiple groups of threads across \
multiple filesystems.
"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2004 International Business Machines Corp."
HOMEPAGE="http://sourceforge.net/projects/ffsb" 
SRC_URI="http://downloads.sourceforge.net/project/ffsb/ffsb/ffsb-6.0-rc2/ffsb-6.0-rc2.tar.bz2"
CHECKSUM_SHA256="e5867692aae8c9bfbcdc774599022289c4d89c1d90f4dd7101fb9865ac773c71"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PROVIDES="
	ffsb = $portVersion
	cmd:ffsb = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:libtoolize
	cmd:aclocal
	cmd:autoconf
	cmd:automake
	cmd:make
	cmd:gcc
	"

SOURCE_DIR="ffsb-6.0-rc2"

PATCHES="ffsb-6.0_rc2.patchset"

BUILD()
{
	libtoolize --force --copy --install
	aclocal
	autoconf
	automake
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
	mkdir -p $docDir
	cp -af README $docDir
}
