/[gentoo-x86]/app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild
Gentoo

Contents of /app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 12 18:22:07 2010 UTC (3 years, 11 months ago) by jer
Branch: MAIN
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)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/bonnie-2.0.6.ebuild,v 1.20 2009/10/12 18:59:17 halcy0n Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls."
10 HOMEPAGE="http://www.textuality.com/bonnie/"
11 SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
12
13 LICENSE="bonnie"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
16 IUSE=""
17
18 S=${WORKDIR}
19
20 src_prepare() {
21 epatch \
22 "${FILESDIR}"/bonnie_man.patch \
23 "${FILESDIR}"/Makefile.patch \
24 "${FILESDIR}"/${P}-includes.patch
25 }
26
27 src_compile() {
28 emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}" || die
29 }
30
31 src_install() {
32 newbin Bonnie bonnie
33 doman bonnie.1
34 dodoc Instructions
35 }

  ViewVC Help
Powered by ViewVC 1.1.20