summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-12-27 11:29:35 +0000
committerJustin Lecher <jlec@gentoo.org>2016-12-27 17:58:00 +0000
commit25dce8f8969b5226c66493887a4536108fda880e (patch)
tree87bd87e53cc699534ea80704f2cc7e91b638f7b2 /app-benchmarks/ioping
parentdev-python/elasticsearch-py: improve ebuild (diff)
downloadgentoo-25dce8f8969b5226c66493887a4536108fda880e.tar.gz
gentoo-25dce8f8969b5226c66493887a4536108fda880e.tar.bz2
gentoo-25dce8f8969b5226c66493887a4536108fda880e.zip
app-benchmarks/ioping: Version Bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-benchmarks/ioping')
-rw-r--r--app-benchmarks/ioping/Manifest1
-rw-r--r--app-benchmarks/ioping/ioping-1.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest
index f60ffbca3ff4..4e8dad15b9c6 100644
--- a/app-benchmarks/ioping/Manifest
+++ b/app-benchmarks/ioping/Manifest
@@ -1 +1,2 @@
DIST ioping-0.9.tar.gz 23695 SHA256 951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c WHIRLPOOL e9dec9d139b1b85f379c65d99676bfbbda30b78bf8cfa9a2a238db0e9eb43f6a2cb119ba64e35f9a81dc530b29015062b6e9585661f97449a22c35dc930dbcdd
+DIST ioping-1.0.tar.gz 28824 SHA256 db999abb0f9de00bce800267965cdd9b826ebce6052e905b12d9f40076157088 SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 WHIRLPOOL cd3c4d373b705300e27a66b5858ec265f4de1d0f9530830a4a55f3b326135fa4608a010e973121f51e6a5ffc5713b0797988fbb20bc54b5fa08a091e6f6641bb
diff --git a/app-benchmarks/ioping/ioping-1.0.ebuild b/app-benchmarks/ioping/ioping-1.0.ebuild
new file mode 100644
index 000000000000..bf918199d332
--- /dev/null
+++ b/app-benchmarks/ioping/ioping-1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Simple disk I/0 latency measuring tool"
+HOMEPAGE="https://github.com/koct9i/ioping"
+SRC_URI="https://github.com/koct9i/ioping/archive/v1.0.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+src_prepare() {
+ default
+ sed \
+ -e 's:LICENSE::g' \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CC="$(tc-getCC)" \
+ PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}