community/fio to 2.2.12-1

This commit is contained in:
Kevin Mihelich 2015-11-28 17:18:31 +00:00
parent 7aa339d663
commit 9d0c70f9ce

View file

@ -7,7 +7,7 @@
# - removed numactl dependency
pkgname=fio
pkgver=2.2.11
pkgver=2.2.12
pkgrel=1
pkgdesc='Scriptable I/O tool for storage benchmarks and drive testing'
arch=(i686 x86_64)
@ -19,23 +19,23 @@ optdepends=(
'gtk2: for gfio - fio GUI frontend'
'gnuplot: generating plots using fio_generate_plots'
)
source=(http://brick.kernel.dk/snaps/fio-$pkgver.tar.bz2)
sha256sums=('03ac5354537002f44d09112a46e97d59dee326ddb01e3a1cee65dcc9322ebcf2')
source=(https://github.com/axboe/fio/archive/fio-$pkgver.zip)
sha256sums=('a11a6c6843500c7335599aa91c94af4a3a62374bc6f046f2e060e1c19f8fa89d')
prepare() {
cd fio-$pkgver
cd fio-fio-$pkgver
sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i tools/plot/fio2gnuplot
}
# TODO: enable rdma, need to move the libraries from AUR
build() {
cd fio-$pkgver
cd fio-fio-$pkgver
./configure --enable-gfio --extra-cflags="$CFLAGS"
}
package() {
cd fio-$pkgver
cd fio-fio-$pkgver
make DESTDIR="$pkgdir" prefix=/usr mandir=/usr/share/man install
# documentation