diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-02-25 22:46:01 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-02-27 19:16:15 +0000 |
commit | 416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a (patch) | |
tree | 36aac4fe552758bbdd7f8f068c83afa0146720da /community | |
parent | da8fdc46be4a3e48a559102b6ff9f2cc78d4a37c (diff) | |
download | aports-416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a.tar.bz2 aports-416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a.tar.xz |
unmaintained/ioping: upgrade to 1.0, take maintainership
Diffstat (limited to 'community')
-rw-r--r-- | community/ioping/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/ioping/APKBUILD b/community/ioping/APKBUILD new file mode 100644 index 0000000000..c2b659befe --- /dev/null +++ b/community/ioping/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Henrik Riomar <henrik.riomar@gmail.com> +pkgname=ioping +pkgver=1.0 +pkgrel=1 +pkgdesc="A simple disk i/o latency measurement tool" +url="https://github.com/koct9i/ioping" +arch="all" +license="GPL3+" +depends="" +depends_dev="" +makedepends="$depends_dev linux-headers" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +check() { + cd "$_builddir" + make test || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1 +} + +sha512sums="a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 ioping-1.0.tar.gz" |