Files
haikuports/app-benchmarks/iozone/iozone-3.326.recipe
2017-08-26 13:35:15 +02:00

60 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="Filesystem benchmarking program"
DESCRIPTION="IOzone is a filesystem benchmark tool. The benchmark generates \
and measures a variety of file operations.
Iozone is useful for performing a broad filesystem analysis of a vendors \
computer platform. The benchmark tests file I/O performance for the following \
operations:
Read, write, re-read, re-write, read backwards, read strided, fread, fwrite, \
random read, pread, mmap, aio_read, aio_write"
# NOTE: The author retains the exclusive right to publish derivative works
# based on this work, including, but not limited to, revised versions of
# this work.
HOMEPAGE="http://www.iozone.org/"
COPYRIGHT="
1991-2001 William D. Norcott
2010 Don Capps
"
LICENSE="iozone"
REVISION="1"
SOURCE_URI="http://www.iozone.org/src/current/iozone3_326.tar"
CHECKSUM_SHA256="bc0a40b2cc7f2e8c6dcfbbff82f1df82ad735f02c9a7db59f8364b76f43f7063"
SOURCE_DIR="iozone3_326"
PATCHES="iozone-3.326.patchset"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
cmd:iozone = $portVersion
cmd:fileop = $portVersion
iozone = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
cmd:make
cmd:cc
"
BUILD_PREREQUIRES="
haiku_devel
"
BUILD()
{
cd src/current/
make haiku
}
INSTALL()
{
mkdir -p $binDir $manDir/man1
cd src/current/
cp iozone $binDir
cp fileop $binDir
cp ../../docs/iozone.1 $manDir/man1
}