Updated iozone recipe to pass lint test

This commit is contained in:
Vale Tolpegin
2014-12-21 15:36:40 +00:00
parent 4c56fcd200
commit 2adb5d11d1

View File

@@ -1,22 +1,50 @@
DESCRIPTION="Filesystem benchmarking program"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/iozone3_326.tar"
CHECKSUM_MD5="e80f06da89d314f7fc08fcef4046d367"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd iozone3_326/src/current/
make haiku
}
INSTALL()
{
cd iozone3_326/src/current/
mkdir -p ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`
cp iozone ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/iozone
cp fileop ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/fileop
}
SUMMARY="Filesystem benchmarking program"
DESCRIPTION="Filesystem benchmarking program"
#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.
LICENSE="iozone"
COPYRIGHT="1991-2001, William D. Norcott
2010, Don Capps"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/iozone3_326.tar"
CHECKSUM_SHA256="bc0a40b2cc7f2e8c6dcfbbff82f1df82ad735f02c9a7db59f8364b76f43f7063"
SOURCE_DIR="iozone3_326"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PATCHES="iozone-3.326.patch"
PROVIDES="
cmd:iozone = $portVersion
iozone = $portVersion
"
REQUIRES=""
BUILD_REQUIRES="
cmd:make
cmd:cc
"
BUILD_PREREQUIRES="
haiku_devel
"
BUILD()
{
cd src/current/
make haiku
}
INSTALL()
{
cd src/current/
mkdir -p $binDir/iozone
cp iozone $binDir/iozone
cp fileop $binDir
}