aboutsummaryrefslogtreecommitdiffstats
path: root/community/ioping/APKBUILD
blob: e10193b480817649e962fa1424590d0803752c97 (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
# Contributor: 
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=ioping
pkgver=1.1
pkgrel=0
pkgdesc="A simple disk i/o latency measurement tool"
url="https://github.com/koct9i/ioping"
arch="all !s390x"
license="GPL-3.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201  ioping-1.1.tar.gz"