diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-07-03 03:54:31 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-07-03 03:54:31 +0000 |
commit | 7676684043a6fab19780662897dbf7e885414021 (patch) | |
tree | ba48e1a7e3ec81a76b1ba8c927be029bfbdbc343 /app-benchmarks/iozone | |
parent | Escape $@ properly. (diff) | |
download | gentoo-2-7676684043a6fab19780662897dbf7e885414021.tar.gz gentoo-2-7676684043a6fab19780662897dbf7e885414021.tar.bz2 gentoo-2-7676684043a6fab19780662897dbf7e885414021.zip |
Bump for #424363
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks/iozone')
-rw-r--r-- | app-benchmarks/iozone/ChangeLog | 8 | ||||
-rw-r--r-- | app-benchmarks/iozone/iozone-3.408.ebuild | 72 |
2 files changed, 78 insertions, 2 deletions
diff --git a/app-benchmarks/iozone/ChangeLog b/app-benchmarks/iozone/ChangeLog index afb6596c675c..7ddd1e84c0e6 100644 --- a/app-benchmarks/iozone/ChangeLog +++ b/app-benchmarks/iozone/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-benchmarks/iozone # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/iozone/ChangeLog,v 1.49 2012/04/16 21:18:13 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/iozone/ChangeLog,v 1.50 2012/07/03 03:54:31 patrick Exp $ + +*iozone-3.408 (03 Jul 2012) + + 03 Jul 2012; Patrick Lauer <patrick@gentoo.org> +iozone-3.408.ebuild: + Bump for #424363 16 Apr 2012; Brent Baude <ranger@gentoo.org> iozone-3.397.ebuild: Marking iozone-3.397 ppc for bug 399919 @@ -222,4 +227,3 @@ 13 May 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml, +iozone-3.217.ebuild: Inital import by Jesse Becker <jbecker@speakeasy.net> in bug #50804 - diff --git a/app-benchmarks/iozone/iozone-3.408.ebuild b/app-benchmarks/iozone/iozone-3.408.ebuild new file mode 100644 index 000000000000..6874ea7fd97c --- /dev/null +++ b/app-benchmarks/iozone/iozone-3.408.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/iozone/iozone-3.408.ebuild,v 1.1 2012/07/03 03:54:31 patrick Exp $ + +# TODO +# -> linux-arm (32bit) <- +# -> linux-AMD64 (64bit) <- +# -> linux-ia64 (64bit) <- +# -> linux-powerpc (32bit) <- +# -> linux-powerpc64 (64bit) <- +# -> linux-S390 (32bit) <- +# -> linux-S390X (64bit) <- +# +# -> freebsd (32bit) <- +# -> macosx (32bit) <- +# -> netbsd (32bit) <- +# -> openbsd (32bit) <- +# -> openbsd-threads (32bit) <- +# +# ~ia64 ~s390 alpha(?) x86-fbsd + +inherit eutils toolchain-funcs + +DESCRIPTION="Filesystem benchmarking program" +HOMEPAGE="http://www.iozone.org/" +SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +S=${WORKDIR}/${PN}${PV/./_} + +src_compile() { + cd src/current + + # Options FIX + sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \ + -e "s:-O3:${CFLAGS}:g" makefile + + case ${ARCH} in + x86|alpha) PLATFORM="linux";; + arm) PLATFORM="linux-arm";; + ppc) PLATFORM="linux-powerpc";; + ppc64) PLATFORM="linux-powerpc64";; + amd64) PLATFORM="linux-AMD64";; + ia64) PLATFORM="linux-ia64";; + s390) PLATFORM="linux-S390";; + x86-fbsd) PLATFORM="freebsd";; + *) PLATFORM="linux-${ARCH}";; + esac + + emake ${PLATFORM} || die "Compile failed" +} + +src_install() { + dosbin src/current/iozone + dodoc docs/I* + dodoc docs/Run_rules.doc + dodoc src/current/Changes.txt + doman docs/iozone.1 + + insinto /usr/share/doc/${PF} + cd src/current + doins Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem +} + +src_test() { + cd "${T}" + "${S}"/src/current/iozone testfile || die "self test failed" +} |