1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs
9 DESCRIPTION="Measures the speed of stdin/stdout communication"
10 HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=pipebench"
11 SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz"
15 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~arm-linux ~x86-linux"
20 -e 's:CFLAGS=-Wall:CFLAGS+= -Wall:' \
21 -e 's:$(CFLAGS) -o:$(LDFLAGS) &:g' \
22 -e "s:/usr/local/bin/:${ED}/usr/bin:" \
23 -e "s:/usr/local/man/man1/:${ED}/usr/share/man/man1:" \
28 emake CC=$(tc-getCC) || die
32 dodir /usr/{bin,share/man/man1}