summaryrefslogtreecommitdiff
path: root/iozone
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 11:23:04 +0200
committerErich Eckner <git@eckner.net>2016-05-24 11:24:29 +0200
commita5e7b87741530f80bd655326dbe4fba80d244805 (patch)
treef0254f8763292f9a9e2c4ed873650c48b82baae1 /iozone
parent839de028a0c652b42858e73584d371054df11baa (diff)
downloadarchlinuxewe-a5e7b87741530f80bd655326dbe4fba80d244805.tar.xz
iozone neu
Diffstat (limited to 'iozone')
-rw-r--r--iozone/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/iozone/PKGBUILD b/iozone/PKGBUILD
new file mode 100644
index 000000000..99b5194b6
--- /dev/null
+++ b/iozone/PKGBUILD
@@ -0,0 +1,36 @@
+# 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_434
+pkgrel=2
+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=('75c75a3a59aedc007222d2e6877631d41afd89f1e6702deca3f7e815a6586ad57bcc1ca55f01656bcfa9f733fda74edcc3fe241c7bef143a9aa60527e6865f59')
+
+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
+}