1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program"
9 HOMEPAGE="https://github.com/mkuoppal/tiobench"
10 SRC_URI="https://github.com/mkuoppal/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="amd64 ppc ppc64 x86"
17 RDEPEND="dev-lang/perl"
21 "${FILESDIR}"/${P}-gcc5.patch
22 "${FILESDIR}"/${P}-fix-perl-shebang.patch
28 -e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \
29 || die "sed tiobench.pl failed"
36 DEFINES="-DLARGEFILES" \
42 dosbin tiotest tiobench.pl scripts/tiosum.pl