mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
59 lines
1.3 KiB
Bash
59 lines
1.3 KiB
Bash
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 vendor’s \
|
||
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="
|
||
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
|
||
}
|