diff options
author | Sebastian Pipping <sping@gentoo.org> | 2010-09-27 22:55:56 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2010-09-27 22:55:56 +0000 |
commit | fb96c7e046838effee221f62735e37650ff01b57 (patch) | |
tree | 6f40ea9033f383e3b238833af418a2a77b24b47f /app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild | |
parent | Add ~mips (diff) | |
download | historical-fb96c7e046838effee221f62735e37650ff01b57.tar.gz historical-fb96c7e046838effee221f62735e37650ff01b57.tar.bz2 historical-fb96c7e046838effee221f62735e37650ff01b57.zip |
app-benchmarks/bonnie++: Respect CFLAGS (bug #239951) and LDFLAGS (bug #337463)
Package-Manager: portage-2.2_rc67_p185/cvs/Linux i686
Diffstat (limited to 'app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild')
-rw-r--r-- | app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild b/app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild new file mode 100644 index 000000000000..c6fe67baa183 --- /dev/null +++ b/app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild @@ -0,0 +1,43 @@ +# 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++-1.96-r1.ebuild,v 1.1 2010/09/27 22:55:56 sping Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Hard drive bottleneck testing benchmark suite." +HOMEPAGE="http://www.coker.com.au/bonnie++/" +SRC_URI="http://www.coker.com.au/bonnie++/experimental/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-compile-flags.patch +} + +src_configure() { + econf \ + $(use_with debug) \ + --disable-stripping \ + || die +} + +src_compile() { + emake || die "emake failed" + emake zcav || die "emake zcav failed" # see #9073 +} + +src_install() { + dosbin bonnie++ zcav || die + dobin bon_csv2html bon_csv2txt || die + doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8 + dohtml readme.html + dodoc changelog.txt credits.txt +} |