# Maintainer: Erich Eckner # Contributor: brent s. # Past maintainer: Joris Steyn # Contributor: TDY pkgname=iozone pkgver=3.481 pkgrel=1 pkgdesc="A filesystem benchmark tool" arch=('i686' 'x86_64') url="http://www.iozone.org/" license=('custom') depends=('sh') optdepends=('gnuplot: for generating graph reports') source=("http://www.${pkgname}.org/src/current/${pkgname}${pkgver/./_}.tar") sha512sums=('da023295932a475467c1bd5b1c2857b92cc8997b040fac2ded244f7f559dc2866d1b1aea94ca4d2cf6c621a25dffc96bcd7364855bb9398d1da82cef64fa2b79') build() { cd "${srcdir}/${pkgname}${pkgver/./_}/src/current" if [[ "${CARCH}" == 'x86_64' ]]; then TARGET='-AMD64' else TARGET='' fi make linux${TARGET} CFLAGS="${CFLAGS}" } package() { cd "${srcdir}/${pkgname}${pkgver/./_}/src/current" install -D -m 755 -t ${pkgdir}/usr/bin/ iozone fileop pit_server cd "${srcdir}/${pkgname}${pkgver/./_}/docs" install -D -m 644 -t ${pkgdir}/usr/share/man/man1/ iozone.1 }