Skip to content

Commit

Permalink
app-benchmarks/tiobench: bump to v0.5.0
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alice Ferrazzi <[email protected]>
  • Loading branch information
aliceinwire committed Sep 17, 2021
1 parent 3eabd85 commit 65759ce
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
1 change: 1 addition & 0 deletions app-benchmarks/tiobench/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST tiobench-0.4.2.tar.gz 32182 BLAKE2B f3c0f78daac0dc8c38de2049f8edfce7443fb43a6aacf31a0b5c12abf80ec0ae4c03b1bd25f954db261027c16dfb73fdffe970a730a853caf25763579c2e7170 SHA512 02e82d86ee889a366c1a00d4fb49f63d926e44ba6e2f297212479a5c13abe008b62c12d44483de7e971b5ebf875d5c07847f1d69dd11b2e87a050e27d8f9f09f
DIST tiobench-0.5.0.tar.gz 32897 BLAKE2B 31abe72515b8fe9c846fb8406d47292a8068ab27a6a37d3544a65a84174c6e301e19b95740896e45689ffc2dbb5b12a0927ff5147f98f8b7820bba411957239c SHA512 5e21555b4f76153537eda3e2eb4a22e40b7223870126aee64e78f9ee417b9ba8555f186b46c1e1d71b15c8512970295d57029da4ae0ce438785476ce27d7c0b5
3 changes: 1 addition & 2 deletions app-benchmarks/tiobench/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<name>Alice Ferrazzi</name>
</maintainer>
<upstream>
<remote-id type="github">mkuoppal/tiobench</remote-id>
<remote-id type="sourceforge">tiobench</remote-id>
<remote-id type="github">aliceinwire/tiobench</remote-id>
</upstream>
</pkgmetadata>
39 changes: 39 additions & 0 deletions app-benchmarks/tiobench/tiobench-0.5.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program"
HOMEPAGE="https://github.com/aliceinwire/tiobench"
SRC_URI="https://github.com/aliceinwire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""

RDEPEND="dev-lang/perl"
DEPEND="${RDEPEND}"

src_prepare() {
default
sed -i \
-e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \
|| die "sed tiobench.pl failed"
}

src_compile() {
emake \
CC="$(tc-getCC)" \
LINK="$(tc-getCC)" \
DEFINES="-DLARGEFILES" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
}

src_install() {
dosbin tiotest tiobench.pl scripts/tiosum.pl
einstalldocs
}

0 comments on commit 65759ce

Please sign in to comment.