summaryrefslogtreecommitdiff
blob: c9fdf5a2ddb6e0a3f78e3f5ae2e541ee66875022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

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}

PATCHES=( "${FILESDIR}/bonnie_man.patch"
	  "${FILESDIR}/Makefile.patch"
	  "${FILESDIR}/${P}-includes.patch" )

src_compile() {
	emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}"
}

src_install() {
	newbin Bonnie bonnie
	doman bonnie.1
	dodoc Instructions
}