Files
haikuports/app-benchmarks/bonnie++/bonnie++-1.03e.recipe
2013-11-25 01:13:08 -07:00

65 lines
1.8 KiB
Plaintext

SUMMARY="Bonnie++ is a benchmark and test suite for filesystems"
DESCRIPTION="
Bonnie++ is a benchmark suite that is aimed at performing a number of
simple tests of hard drive and file system performance. Then you can
decide which test is important and decide how to compare different
systems after running it. I have no plans to ever have it produce a
single number, because I don't think that a single number can be
useful when comparing such things.
The main program tests database type access to a single file (or a set
of files if you wish to test more than 1G of storage), and it tests
creation, reading, and deleting of small files which can simulate the
usage of programs such as Squid, INN, or Maildir format email.
The ZCAV program which I initially released as a seperate package
tests the performance of different zones of a hard drive. It does not
write any data (so you can use it on full file systems). It can show
why comparing the speed of Windows at the start of a hard drive to
Linux at the end of the hard drive (typical dual-boot scenario) isn't
a valid comparison.
"
LICENSE="GNU GPL v2"
COPYRIGHT="1990, Tim Bray
1999, Russell Coker"
HOMEPAGE="http://www.coker.com.au/bonnie++/"
SRC_URI="http://www.coker.com.au/bonnie++/bonnie++-1.03e.tgz"
REVISION="1"
CHECKSUM_MD5="750aa5b5051263a99c6c195888c74968"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
PROVIDES="
bonnie++ = $portVersion
cmd:bonnie++ = $portVersion
cmd:zcav = $portVersion
cmd:bon_csv2html = $portVersion
cmd:bon_csv2txt = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:make
cmd:g++
"
BUILD()
{
runConfigure ./configure \
--sbindir=$binDir
make
}
INSTALL()
{
make install
mv $prefix/sbin/* $binDir
rm -rf $prefix/sbin
}