summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-12 19:30:32 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-12 19:30:32 +0000
commit2f35b6b55d92fea3ad652417336dea4ede68df8b (patch)
treec4f5cdb99414137d43d3170bb57ed3425d5515eb /app-benchmarks
parentFix missing includes and defines. Respect CC (bug #243522), LDFLAGS. (diff)
downloadhistorical-2f35b6b55d92fea3ad652417336dea4ede68df8b.tar.gz
historical-2f35b6b55d92fea3ad652417336dea4ede68df8b.tar.bz2
historical-2f35b6b55d92fea3ad652417336dea4ede68df8b.zip
Respect CC (bug #243524), LDFLAGS. Make sed die.
Package-Manager: portage-2.2_rc92/cvs/Linux i686
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/pipebench/ChangeLog9
-rw-r--r--app-benchmarks/pipebench/Manifest3
-rw-r--r--app-benchmarks/pipebench/pipebench-0.40-r1.ebuild35
3 files changed, 44 insertions, 3 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/Manifest b/app-benchmarks/pipebench/Manifest
index e846d5cb4432..fa4289ca26e2 100644
--- a/app-benchmarks/pipebench/Manifest
+++ b/app-benchmarks/pipebench/Manifest
@@ -1,4 +1,5 @@
DIST pipebench-0.40.tar.gz 11542 RMD160 9aa9a4a9ef8c641ca25207707cffaefd91f58d85 SHA1 5ac405b9f1f25b39b3760fd9684533ccb778b26c SHA256 ca764003446222ad9dbd33bbc7d94cdb96fa72608705299b6cc8734cd3562211
+EBUILD pipebench-0.40-r1.ebuild 899 RMD160 a4eed7b9549f297c5a525e1f2da62f391a760c2c SHA1 dd39f68a577f87526bfee409ec956082c005ca30 SHA256 38513047d0016717885797418fdb3158a962ee67136b7df815538892bf98100d
EBUILD pipebench-0.40.ebuild 895 RMD160 717bddc9a86b3386c2e9a98be84c82f8a2015d01 SHA1 56d36b75e7c49942270e6b68db7e3f8d5d4615a4 SHA256 b61a43396c74b4d14ce80ad8eee3db03f81bffa38332b27f3dd6031df1f48d9d
-MISC ChangeLog 1319 RMD160 d30e183ed2ddd39cf237ce82e620a7f0f1382c34 SHA1 5fcb5ec1406e3326fa82ebe139bc1b8c8de777a5 SHA256 240e333f72093bccca273a71b6deb79a54b433be50831b652179bed442937cf2
+MISC ChangeLog 1475 RMD160 03bd45a40490d9734ee7a152510be097b84a6ddd SHA1 004f3fe318da8175854d094b3a52b02f57e027e8 SHA256 9da34cb216c578d8654f3fb90b3cddbc4190f488d188b6417febacbac46abdf2
MISC metadata.xml 164 RMD160 80582ab33b0b579ef4d41eb9899dbc2a5904566c SHA1 ad15e5d3d68ce39107636b39a2bcc6a847ab45dd SHA256 d1c053798bce14287e6955dac28fa5fc6c7415449545b2922f4d30fe4d84894c
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
+}