diff options
Diffstat (limited to 'app-benchmarks/spew/spew-1.0.8.ebuild')
-rw-r--r-- | app-benchmarks/spew/spew-1.0.8.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-benchmarks/spew/spew-1.0.8.ebuild b/app-benchmarks/spew/spew-1.0.8.ebuild new file mode 100644 index 000000000000..7886a6fe7752 --- /dev/null +++ b/app-benchmarks/spew/spew-1.0.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils toolchain-funcs + +DESCRIPTION="Measures I/O performance and/or generates I/O load" +HOMEPAGE="http://spew.berlios.de/" +SRC_URI="ftp://ftp.berlios.de/pub/spew/1.0.8/spew-1.0.8.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86" +IUSE="static" + +DEPEND="static? ( sys-libs/ncurses[-gpm] dev-libs/popt[static-libs] ) + !static? ( sys-libs/ncurses dev-libs/popt )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/fix-automake-1.13.patch + epatch "${FILESDIR}"/remove-symlinks-makefile.patch + eautoreconf +} + +src_configure() { + econf $(use_enable static static-link) +} + +src_compile() { + emake AR=$(tc-getAR) +} + +src_install() { + emake DESTDIR="${D}" install + dosym ${PN} /usr/bin/gorge + dosym ${PN} /usr/bin/regorge + dosym ${PN}.1.bz2 /usr/share/man/man1/gorge.1.bz2 + dosym ${PN}.1.bz2 /usr/share/man/man1/reorge.1.bz2 +} |