blob: ae26a8ca72f3425d40857a819629e5c1171c59a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
DESCRIPTION="Copy its stdin to stdout while measuring time it takes to read and write."
SRC_URI="http://download.berlios.de/cpipe/${P}.tar.gz"
HOMEPAGE="http://cpipe.berlios.de/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e "s:-O2 -W -Wall -pedantic:${CFLAGS}:" \
makefile* || die "cleaning up makefiles"
}
src_compile() {
cd ${S}
touch cmdline.c cmdline.h cpipe.1
emake CC=gcc || die
}
src_install() {
doman cpipe.1
dodoc CHANGES
exeinto /usr/bin
doexe cpipe
}
|