diff options
author | Amy Liffey <amynka@gentoo.org> | 2017-08-08 11:08:40 +0200 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2017-08-08 11:08:40 +0200 |
commit | a441b9ac50933b6a4f736995092d53a8c268b707 (patch) | |
tree | ed42973c64888e96328e49072302f8172854a998 /app-benchmarks | |
parent | app-backup/simplebackup: EAPI 6 bump (diff) | |
download | gentoo-a441b9ac50933b6a4f736995092d53a8c268b707.tar.gz gentoo-a441b9ac50933b6a4f736995092d53a8c268b707.tar.bz2 gentoo-a441b9ac50933b6a4f736995092d53a8c268b707.zip |
app-benchmarks/bonnie: EAPI 6 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild | 31 | ||||
-rw-r--r-- | app-benchmarks/bonnie/files/bonnie_man.patch | 4 |
2 files changed, 33 insertions, 2 deletions
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild new file mode 100644 index 000000000000..c9fdf5a2ddb6 --- /dev/null +++ b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls" +HOMEPAGE="http://www.textuality.com/bonnie/" +SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz" + +LICENSE="bonnie" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +S=${WORKDIR} + +PATCHES=( "${FILESDIR}/bonnie_man.patch" + "${FILESDIR}/Makefile.patch" + "${FILESDIR}/${P}-includes.patch" ) + +src_compile() { + emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}" +} + +src_install() { + newbin Bonnie bonnie + doman bonnie.1 + dodoc Instructions +} diff --git a/app-benchmarks/bonnie/files/bonnie_man.patch b/app-benchmarks/bonnie/files/bonnie_man.patch index 63dac33159a4..e4b2fe0a12e3 100644 --- a/app-benchmarks/bonnie/files/bonnie_man.patch +++ b/app-benchmarks/bonnie/files/bonnie_man.patch @@ -1,5 +1,5 @@ ---- bonnie.1.orig 2003-01-07 14:19:29.000000000 -0600 -+++ bonnie.1 2003-01-07 14:20:19.000000000 -0600 +--- a/bonnie.1 2003-01-07 14:19:29.000000000 -0600 ++++ b/bonnie.1 2003-01-07 14:20:19.000000000 -0600 @@ -60,11 +60,11 @@ .fi .in |