blob: 1801acca7854e7864eb793e2e48d8412da6004fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: brent s. <bts[at]square-r00t[dot]net>
# Past maintainer: Joris Steyn <jorissteyn@gmail.com>
# Contributor: TDY <tdy@gmx.com>
pkgname=iozone
pkgver=3.493
pkgrel=1
pkgdesc="A filesystem benchmark tool"
arch=('i686' 'pentium4' 'x86_64')
url="http://www.iozone.org/"
license=('custom')
_pinned_dependencies=(
'glibc>=2.31'
)
depends=('sh' "${_pinned_dependencies[@]}")
optdepends=('gnuplot: for generating graph reports')
source=("https://www.${pkgname}.org/src/current/${pkgname}${pkgver/./_}.tgz")
sha512sums=('89e41b8344f593cdf049c195a8b78468b3a59dcca3d0932e33feed15c02b4a15e290b5fca3c28a5490cc3d40009aa8c96093bb814cfb18a99bece4b3bb9ba8c8')
build() {
cd "${srcdir}/${pkgname}${pkgver/./_}/src/current"
if [[ "${CARCH}" == 'x86_64' ]];
then
TARGET='-AMD64'
else
TARGET=''
fi
make linux${TARGET} CFLAGS="${CFLAGS/-O2/}"
}
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
}
|