Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
Date: Tue, 27 Dec 2016 17:58:07
Message-Id: 1482861480.25dce8f8969b5226c66493887a4536108fda880e.jlec@gentoo
1 commit: 25dce8f8969b5226c66493887a4536108fda880e
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 27 11:29:35 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 27 17:58:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25dce8f8
7
8 app-benchmarks/ioping: Version Bump
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 app-benchmarks/ioping/Manifest | 1 +
14 app-benchmarks/ioping/ioping-1.0.ebuild | 34 +++++++++++++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest
18 index f60ffbc..4e8dad1 100644
19 --- a/app-benchmarks/ioping/Manifest
20 +++ b/app-benchmarks/ioping/Manifest
21 @@ -1 +1,2 @@
22 DIST ioping-0.9.tar.gz 23695 SHA256 951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c WHIRLPOOL e9dec9d139b1b85f379c65d99676bfbbda30b78bf8cfa9a2a238db0e9eb43f6a2cb119ba64e35f9a81dc530b29015062b6e9585661f97449a22c35dc930dbcdd
23 +DIST ioping-1.0.tar.gz 28824 SHA256 db999abb0f9de00bce800267965cdd9b826ebce6052e905b12d9f40076157088 SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 WHIRLPOOL cd3c4d373b705300e27a66b5858ec265f4de1d0f9530830a4a55f3b326135fa4608a010e973121f51e6a5ffc5713b0797988fbb20bc54b5fa08a091e6f6641bb
24
25 diff --git a/app-benchmarks/ioping/ioping-1.0.ebuild b/app-benchmarks/ioping/ioping-1.0.ebuild
26 new file mode 100644
27 index 00000000..bf91819
28 --- /dev/null
29 +++ b/app-benchmarks/ioping/ioping-1.0.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +inherit eutils
38 +
39 +DESCRIPTION="Simple disk I/0 latency measuring tool"
40 +HOMEPAGE="https://github.com/koct9i/ioping"
41 +SRC_URI="https://github.com/koct9i/ioping/archive/v1.0.tar.gz -> ${P}.tar.gz"
42 +
43 +SLOT="0"
44 +LICENSE="GPL-3"
45 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
46 +IUSE=""
47 +
48 +src_prepare() {
49 + default
50 + sed \
51 + -e 's:LICENSE::g' \
52 + -i Makefile || die
53 +}
54 +
55 +src_compile() {
56 + emake \
57 + CFLAGS="${CFLAGS}" \
58 + CC="$(tc-getCC)" \
59 + PREFIX="${EPREFIX}/usr"
60 +}
61 +
62 +src_install() {
63 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
64 +}