diff options
author | Göktürk Yüksek <gokturk@binghamton.edu> | 2016-02-12 22:51:15 -0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@binghamton.edu> | 2016-02-16 04:23:11 -0500 |
commit | 8592f9336cde604750ae27431a2d172d3dfe6ab0 (patch) | |
tree | bfa70f66202a6eefa12d23918518384ffa69b9ce /app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild | |
parent | games-board/pokerth: dev-qt/qtnetwork is always needed (diff) | |
download | gentoo-8592f9336cde604750ae27431a2d172d3dfe6ab0.tar.gz gentoo-8592f9336cde604750ae27431a2d172d3dfe6ab0.tar.bz2 gentoo-8592f9336cde604750ae27431a2d172d3dfe6ab0.zip |
app-benchmarks/bonnie++: eapi bump, fix #309319, #431684, #515334
Also get rid if unnecessary DEPEND and RDEPEND since this package
has no external dependencies.
Remove src_compile phase that was added per #9073 14 years ago.
It's not reproducible anymore.
The 'changelog.txt' file is a symlink to 'debian/changelog'. Install
the actual changelog instead of the symlink.
Install everything under bin/ as opposed to sbin/ since this is
not a system application.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=9073
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=309319
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=431684
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=515334
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild')
-rw-r--r-- | app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild b/app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild new file mode 100644 index 000000000000..bfb5436c157e --- /dev/null +++ b/app-benchmarks/bonnie++/bonnie++-1.97-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +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 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +S="${WORKDIR}/${P}.1" + +PATCHES=( + "${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788 + "${FILESDIR}"/${P}-zcav-array-indexing-fix.patch #309319 +) + +DOCS=( README.txt README-2.00 debian/changelog credits.txt ) +HTML_DOCS=( readme.html ) + +src_configure() { + econf \ + $(usex debug "--enable-debug" "") \ + --disable-stripping +} + +src_install() { + dobin bonnie++ zcav bon_csv2html bon_csv2txt + sed -i -e \ + "s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \ + bonnie++.8 || die #431684 + doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8 + einstalldocs +} |