0
0
Fork 0
haikuports/app-benchmarks/bonnie++/bonnie++-1.98.recipe

67 lines
2.0 KiB
Bash

SUMMARY="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."
HOMEPAGE="http://www.coker.com.au/bonnie++/"
COPYRIGHT="1990 Tim Bray
1999 Russell Coker"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://www.coker.com.au/bonnie++/bonnie++-$portVersion.tgz"
CHECKSUM_SHA256="6e0bcbc08b78856fd998dd7bcb352d4615a99c26c2dc83d5b8345b102bad0b04"
PATCHES="bonnie++-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
bonnie++ = $portVersion
cmd:bon_csv2html = $portVersion
cmd:bon_csv2txt = $portVersion
cmd:bonnie++ = $portVersion
cmd:generate_randfile = $portVersion
cmd:getc_putc = $portVersion
cmd:getc_putc_helper = $portVersion
cmd:zcav = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:g++
cmd:gawk
cmd:make
"
BUILD()
{
autoreconf
runConfigure ./configure \
--sbindir=$binDir
make
}
INSTALL()
{
make install
mv $prefix/sbin/* $binDir
rm -rf $prefix/sbin
}