blob: 1585d3e797f9f5eeaec90a44879d61423bb786e5 (
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
|
# Contributor: wener <wenermail@gmail.com>
# Maintainer: wener <wenermail@gmail.com>
pkgname=fio
pkgver=3.5
pkgrel=0
pkgdesc="Flexible I/O Tester"
url="https://github.com/axboe/fio"
arch="all"
license="GPL-2.0"
makedepends="linux-headers zlib-dev coreutils py-sphinx"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/axboe/fio/archive/fio-$pkgver.tar.gz"
builddir="$srcdir/fio-$pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
doc() {
cd "$builddir"
mkdir -p "$subpkgdir/usr"
mv "$pkgdir/usr/man" "$subpkgdir/usr"
}
sha512sums="a31c107d9d1aed244a1e7b54a5768ae0d246f39b419815bf6f94ae4424de1ae569bdae2c4e589435b0d1b44eb7a8b7a670a3c44b7d746b326826325a3f27a909 fio-3.5.tar.gz"
|