Convert ffsb to working recipe

This commit is contained in:
Chris Roberts
2013-11-25 01:13:28 -07:00
parent dcf237cb82
commit 1b9b7e5e23
2 changed files with 93 additions and 26 deletions

View File

@@ -1,25 +1,57 @@
DESCRIPTION="Flexible Filesystem Benchmark"
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"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="cabfc1021c2ec6c6b168fefc84210891"
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()
{
cd ffsb-6.0-rc2
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd ffsb-6.0-rc2
make install
mkdir -p $docDir
cp -af README $docDir
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2004 International Business Machines Corp."