You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild

36 lines
841 B

# Copyright 1999-2014 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.2 2014/08/05 07:59:56 patrick 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
}