diff options
Diffstat (limited to 'sys-apps/cpipe/cpipe-3.0.1.ebuild')
-rw-r--r-- | sys-apps/cpipe/cpipe-3.0.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/cpipe/cpipe-3.0.1.ebuild b/sys-apps/cpipe/cpipe-3.0.1.ebuild new file mode 100644 index 0000000..ae26a8c --- /dev/null +++ b/sys-apps/cpipe/cpipe-3.0.1.ebuild @@ -0,0 +1,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 +} |