blob: 14b12f20a8e7a7e159da84628133626e783094a8 (
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
|
# Contributor: wener <wenermail@gmail.com>
# Maintainer: wener <wenermail@gmail.com>
pkgname=fio
pkgver=3.16
pkgrel=0
pkgdesc="Flexible I/O Tester"
url="https://github.com/axboe/fio"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers zlib-dev coreutils libaio-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/axboe/fio/archive/fio-$pkgver.tar.gz"
builddir="$srcdir/fio-$pkgname-$pkgver"
case "$CARCH" in
arm*) ;; # no numactl-dev for arm
*) makedepends="$makedepends numactl-dev" ;;
esac
build() {
./configure --prefix=/usr
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
mv "$pkgdir"/usr/man "$pkgdir"/usr/share
}
sha512sums="f057a615a12e60f4c947f442248d7d2db5de5efbd4c9731e537521606f3bf49d4be30de13307048e9a2efa0188bb19f5f6c1ad50637de5dacfee4c9b33736175 fio-3.16.tar.gz"
|