summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-12 04:44:10 +0000
committerSam James <sam@gentoo.org>2021-06-12 04:44:10 +0000
commit62de2001a767b918eb0b9e63847b3d1a70a1d84d (patch)
treedc46218663047ca7b151938264afb4938c5ef761
parentwww-servers/apache: Stabilize 2.4.48 x86, #795231 (diff)
downloadgentoo-62de2001a767b918eb0b9e63847b3d1a70a1d84d.tar.gz
gentoo-62de2001a767b918eb0b9e63847b3d1a70a1d84d.tar.bz2
gentoo-62de2001a767b918eb0b9e63847b3d1a70a1d84d.zip
app-benchmarks/ioping: add 1.2
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-benchmarks/ioping/Manifest1
-rw-r--r--app-benchmarks/ioping/ioping-1.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest
index eb34bea72664..9d246c51f907 100644
--- a/app-benchmarks/ioping/Manifest
+++ b/app-benchmarks/ioping/Manifest
@@ -1 +1,2 @@
DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201
+DIST ioping-1.2.tar.gz 30819 BLAKE2B 5f46ee783d51e4bea88a6036fba97c053e507f53183344d17fbfa6dd304d6cb76737ccff23c46ccce1fff8107d94e4e192264a3bf22062a7ea96b2a4475fb311 SHA512 4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96
diff --git a/app-benchmarks/ioping/ioping-1.2.ebuild b/app-benchmarks/ioping/ioping-1.2.ebuild
new file mode 100644
index 000000000000..7a53e98ef212
--- /dev/null
+++ b/app-benchmarks/ioping/ioping-1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple disk I/0 latency measuring tool"
+HOMEPAGE="https://github.com/koct9i/ioping"
+SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="netdata"
+
+src_prepare() {
+ use netdata && eapply "${FILESDIR}/${P}-netdata.patch"
+ eapply_user
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+
+ dodoc changelog README.md
+}