diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-10-12 19:30:32 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-10-12 19:30:32 +0000 |
commit | 293a1c4f6a714f34b76a17bfa5f7a09cd8a4c225 (patch) | |
tree | 078fc02dd27df388ff2ef6440f43ab25c74d7558 /app-benchmarks/pipebench | |
parent | Fix missing includes and defines. Respect CC (bug #243522), LDFLAGS. (diff) | |
download | gentoo-2-293a1c4f6a714f34b76a17bfa5f7a09cd8a4c225.tar.gz gentoo-2-293a1c4f6a714f34b76a17bfa5f7a09cd8a4c225.tar.bz2 gentoo-2-293a1c4f6a714f34b76a17bfa5f7a09cd8a4c225.zip |
Respect CC (bug #243524), LDFLAGS. Make sed die.
(Portage version: 2.2_rc92/cvs/Linux i686)
Diffstat (limited to 'app-benchmarks/pipebench')
-rw-r--r-- | app-benchmarks/pipebench/ChangeLog | 9 | ||||
-rw-r--r-- | app-benchmarks/pipebench/pipebench-0.40-r1.ebuild | 35 |
2 files changed, 42 insertions, 2 deletions
diff --git a/app-benchmarks/pipebench/ChangeLog b/app-benchmarks/pipebench/ChangeLog index be1658554058..7d0d88fd511f 100644 --- a/app-benchmarks/pipebench/ChangeLog +++ b/app-benchmarks/pipebench/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-benchmarks/pipebench -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/pipebench/ChangeLog,v 1.12 2009/09/13 22:21:30 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/pipebench/ChangeLog,v 1.13 2010/10/12 19:30:32 jer Exp $ + +*pipebench-0.40-r1 (12 Oct 2010) + + 12 Oct 2010; Jeroen Roovers <jer@gentoo.org> +pipebench-0.40-r1.ebuild: + Respect CC (bug #243524), LDFLAGS. Make sed die. 13 Sep 2009; Patrick Lauer <patrick@gentoo.org> pipebench-0.40.ebuild: Removing virtual/libc deps diff --git a/app-benchmarks/pipebench/pipebench-0.40-r1.ebuild b/app-benchmarks/pipebench/pipebench-0.40-r1.ebuild new file mode 100644 index 000000000000..18ea4fa06d52 --- /dev/null +++ b/app-benchmarks/pipebench/pipebench-0.40-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/pipebench/pipebench-0.40-r1.ebuild,v 1.1 2010/10/12 19:30:32 jer Exp $ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="Measures the speed of stdin/stdout communication" +HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=pipebench" +SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +src_prepare() { + sed -i Makefile \ + -e 's:CFLAGS=-Wall:CFLAGS+= -Wall:' \ + -e 's:$(CFLAGS) -o:$(LDFLAGS) &:g' \ + -e "s:/usr/local/bin/:${D}/usr/bin:" \ + -e "s:/usr/local/man/man1/:${D}/usr/share/man/man1:" \ + || die "sed Makefile" +} + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + dodir /usr/{bin,share/man/man1} + emake install || die + dodoc README +} |