Files
haikuports/app-benchmarks/iozone/iozone-3.326.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

59 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="all ?x86"
PROVIDES="
iozone = $portVersion
cmd:fileop = $portVersion
cmd:iozone = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
cmd:cc
cmd:make
"
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
}