summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/bonnie/bonnie-2.0.6.ebuild')
-rw-r--r--app-benchmarks/bonnie/bonnie-2.0.6.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6.ebuild
new file mode 100644
index 00000000000..4cd7505bf0d
--- /dev/null
+++ b/app-benchmarks/bonnie/bonnie-2.0.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+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=""
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A} || die
+ epatch "${FILESDIR}"/bonnie_man.patch
+ epatch "${FILESDIR}"/Makefile.patch
+}
+
+src_compile() {
+ make SYSFLAGS="${CFLAGS}" || die
+ mv Bonnie bonnie
+}
+
+src_install() {
+ doman bonnie.1
+ dodoc Instructions
+ dobin bonnie
+}