1 |
commit: 65759cecc711840bdce4dba979e2e9094706a56b |
2 |
Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 17 14:45:21 2021 +0000 |
4 |
Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 17 14:45:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65759cec |
7 |
|
8 |
app-benchmarks/tiobench: bump to v0.5.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org> |
12 |
|
13 |
app-benchmarks/tiobench/Manifest | 1 + |
14 |
app-benchmarks/tiobench/metadata.xml | 3 +-- |
15 |
app-benchmarks/tiobench/tiobench-0.5.0.ebuild | 39 +++++++++++++++++++++++++++ |
16 |
3 files changed, 41 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-benchmarks/tiobench/Manifest b/app-benchmarks/tiobench/Manifest |
19 |
index 2321aa9ff08..6daa7daf8e3 100644 |
20 |
--- a/app-benchmarks/tiobench/Manifest |
21 |
+++ b/app-benchmarks/tiobench/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST tiobench-0.4.2.tar.gz 32182 BLAKE2B f3c0f78daac0dc8c38de2049f8edfce7443fb43a6aacf31a0b5c12abf80ec0ae4c03b1bd25f954db261027c16dfb73fdffe970a730a853caf25763579c2e7170 SHA512 02e82d86ee889a366c1a00d4fb49f63d926e44ba6e2f297212479a5c13abe008b62c12d44483de7e971b5ebf875d5c07847f1d69dd11b2e87a050e27d8f9f09f |
24 |
+DIST tiobench-0.5.0.tar.gz 32897 BLAKE2B 31abe72515b8fe9c846fb8406d47292a8068ab27a6a37d3544a65a84174c6e301e19b95740896e45689ffc2dbb5b12a0927ff5147f98f8b7820bba411957239c SHA512 5e21555b4f76153537eda3e2eb4a22e40b7223870126aee64e78f9ee417b9ba8555f186b46c1e1d71b15c8512970295d57029da4ae0ce438785476ce27d7c0b5 |
25 |
|
26 |
diff --git a/app-benchmarks/tiobench/metadata.xml b/app-benchmarks/tiobench/metadata.xml |
27 |
index 2dc327a7e02..d8b70044e05 100644 |
28 |
--- a/app-benchmarks/tiobench/metadata.xml |
29 |
+++ b/app-benchmarks/tiobench/metadata.xml |
30 |
@@ -6,7 +6,6 @@ |
31 |
<name>Alice Ferrazzi</name> |
32 |
</maintainer> |
33 |
<upstream> |
34 |
- <remote-id type="github">mkuoppal/tiobench</remote-id> |
35 |
- <remote-id type="sourceforge">tiobench</remote-id> |
36 |
+ <remote-id type="github">aliceinwire/tiobench</remote-id> |
37 |
</upstream> |
38 |
</pkgmetadata> |
39 |
|
40 |
diff --git a/app-benchmarks/tiobench/tiobench-0.5.0.ebuild b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..fdccf6c88e2 |
43 |
--- /dev/null |
44 |
+++ b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild |
45 |
@@ -0,0 +1,39 @@ |
46 |
+# Copyright 1999-2021 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=8 |
50 |
+ |
51 |
+inherit toolchain-funcs |
52 |
+ |
53 |
+DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program" |
54 |
+HOMEPAGE="https://github.com/aliceinwire/tiobench" |
55 |
+SRC_URI="https://github.com/aliceinwire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
60 |
+IUSE="" |
61 |
+ |
62 |
+RDEPEND="dev-lang/perl" |
63 |
+DEPEND="${RDEPEND}" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ sed -i \ |
68 |
+ -e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \ |
69 |
+ || die "sed tiobench.pl failed" |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ emake \ |
74 |
+ CC="$(tc-getCC)" \ |
75 |
+ LINK="$(tc-getCC)" \ |
76 |
+ DEFINES="-DLARGEFILES" \ |
77 |
+ CFLAGS="${CFLAGS}" \ |
78 |
+ LDFLAGS="${LDFLAGS}" |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ dosbin tiotest tiobench.pl scripts/tiosum.pl |
83 |
+ einstalldocs |
84 |
+} |