diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-10-12 18:22:07 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-10-12 18:22:07 +0000 |
commit | 87abdb2a15e8c5c989d1917fa4a800bf5f38397b (patch) | |
tree | b04975148cf4d80697a5997a120249ab1d835351 /app-benchmarks/bonnie | |
parent | Remove old (diff) | |
download | gentoo-2-87abdb2a15e8c5c989d1917fa4a800bf5f38397b.tar.gz gentoo-2-87abdb2a15e8c5c989d1917fa4a800bf5f38397b.tar.bz2 gentoo-2-87abdb2a15e8c5c989d1917fa4a800bf5f38397b.zip |
Use newbin instead of mv. Remove empty (R)DEPEND. Respect CC (bug #243512), LDFLAGS (use emake instead of make).
(Portage version: 2.2_rc92/cvs/Linux i686)
Diffstat (limited to 'app-benchmarks/bonnie')
-rw-r--r-- | app-benchmarks/bonnie/ChangeLog | 11 | ||||
-rw-r--r-- | app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild | 35 | ||||
-rw-r--r-- | app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch | 13 |
3 files changed, 57 insertions, 2 deletions
diff --git a/app-benchmarks/bonnie/ChangeLog b/app-benchmarks/bonnie/ChangeLog index 003409280a2f..127672a759da 100644 --- a/app-benchmarks/bonnie/ChangeLog +++ b/app-benchmarks/bonnie/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-benchmarks/bonnie -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/ChangeLog,v 1.16 2009/10/12 18:59:17 halcy0n Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/ChangeLog,v 1.17 2010/10/12 18:22:07 jer Exp $ + +*bonnie-2.0.6-r1 (12 Oct 2010) + + 12 Oct 2010; Jeroen Roovers <jer@gentoo.org> +bonnie-2.0.6-r1.ebuild, + +files/bonnie-2.0.6-includes.patch: + Use newbin instead of mv. Remove empty (R)DEPEND. Respect CC (bug + #243512), LDFLAGS (use emake instead of make). 12 Oct 2009; Mark Loeser <halcy0n@gentoo.org> bonnie-2.0.6.ebuild: QA fixes; unquoted variables diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild new file mode 100644 index 000000000000..179aebe291fa --- /dev/null +++ b/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild,v 1.1 2010/10/12 18:22:07 jer Exp $ + +EAPI="2" + +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} + +src_prepare() { + epatch \ + "${FILESDIR}"/bonnie_man.patch \ + "${FILESDIR}"/Makefile.patch \ + "${FILESDIR}"/${P}-includes.patch +} + +src_compile() { + emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}" || die +} + +src_install() { + newbin Bonnie bonnie + doman bonnie.1 + dodoc Instructions +} diff --git a/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch b/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch new file mode 100644 index 000000000000..cfefe953c6f1 --- /dev/null +++ b/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch @@ -0,0 +1,13 @@ +--- a/Bonnie.c 1996-08-28 18:23:49.000000000 +0200 ++++ b/Bonnie.c 2010-10-12 20:15:26.000000000 +0200 +@@ -29,6 +29,10 @@ + #include <fcntl.h> + #include <sys/types.h> + #include <sys/time.h> ++#include <time.h> ++#include <string.h> ++#include <stdlib.h> ++#include <sys/wait.h> + #if defined(SysV) + #include <limits.h> + #include <sys/times.h> |