2016-07-14 19:43:17 +02:00
|
|
|
# Template file for 'fio'
|
|
|
|
pkgname=fio
|
2017-04-05 15:24:08 +02:00
|
|
|
version=2.19
|
2016-07-14 19:43:17 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
|
|
build_style=configure
|
|
|
|
make_install_args="mandir=/usr/share/man"
|
|
|
|
makedepends="zlib-devel libaio-devel"
|
|
|
|
depends="python"
|
|
|
|
short_desc="Flexible I/O tester"
|
2017-01-18 18:47:33 +01:00
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
2016-07-14 19:43:17 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/axboe/fio"
|
|
|
|
distfiles="https://github.com/axboe/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
2017-04-05 15:24:08 +02:00
|
|
|
checksum=61fb03a18703269b781aaf195cb0d7931493bbb5bfcc8eb746d5d66d04ed77f7
|
2016-07-14 19:43:17 +02:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*) makedepends+=" libnuma-devel"
|
|
|
|
esac
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
./configure --prefix=/usr --extra-cflags="$CFLAGS"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense MORAL-LICENSE
|
|
|
|
vdoc HOWTO
|
|
|
|
}
|