diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-03-08 10:03:55 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-08 10:04:26 +0000 |
commit | bc88c93259c52696b2d171e6bf7b09d543ddc082 (patch) | |
tree | 608522f733399f30d26770804efd0e9f09ceac75 /app-misc/cpipe | |
parent | dev-python/waitress: Fix docs generation #576660 (diff) | |
download | gentoo-bc88c93259c52696b2d171e6bf7b09d543ddc082.tar.gz gentoo-bc88c93259c52696b2d171e6bf7b09d543ddc082.tar.bz2 gentoo-bc88c93259c52696b2d171e6bf7b09d543ddc082.zip |
app-misc/cpipe: Add cpipe to the tree.
cpipe is a tiny C program that measures how fast data is sent through a UNIX pipe.
Gentoo-Bug: https://bugs.gentoo.org/497618
Reporter: Marcin Mirosław <bug@mejor.pl>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/cpipe')
-rw-r--r-- | app-misc/cpipe/Manifest | 1 | ||||
-rw-r--r-- | app-misc/cpipe/cpipe-3.0.3.ebuild | 37 | ||||
-rw-r--r-- | app-misc/cpipe/metadata.xml | 11 |
3 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/cpipe/Manifest b/app-misc/cpipe/Manifest new file mode 100644 index 000000000000..2fedec61bdb0 --- /dev/null +++ b/app-misc/cpipe/Manifest @@ -0,0 +1 @@ +DIST cpipe-3.0.3.tar.gz 16392 SHA256 3803a71233a4cd8dd3bfba5a52d3320ed037740cf3a45b07cc30d8be457ea1cc SHA512 255e3833ddaf27af1768e650a47d0565224ddd22137636ae0fae491a4d03f523b74a76f26b261c71442a7509f42eee64b75fbcf7078641a64b66a2590bb803b3 WHIRLPOOL e9bba8ff169055c41e71f536eb99155a2f4396c4f078fa3f0f6e6087ecd0029f8a5f04f4a9e1a27d385d187f472ffce5f9b001d3975fba54e27ef5d422c88ba1 diff --git a/app-misc/cpipe/cpipe-3.0.3.ebuild b/app-misc/cpipe/cpipe-3.0.3.ebuild new file mode 100644 index 000000000000..3821e559ad2b --- /dev/null +++ b/app-misc/cpipe/cpipe-3.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="Counting pipe, measures data transfered over pipe" +HOMEPAGE="https://github.com/HaraldKi/cpipe" +SRC_URI="https://github.com/HaraldKi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i \ + -e "s/CFLAGS =/CFLAGS =${CFLAGS} /" \ + -e "s/-lm/-lm ${LDFLAGS}/" \ + -e "s/744/644/" makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" +} diff --git a/app-misc/cpipe/metadata.xml b/app-misc/cpipe/metadata.xml new file mode 100644 index 000000000000..449e6b0b1299 --- /dev/null +++ b/app-misc/cpipe/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">HaraldKi/cpipe</remote-id> + </upstream> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> +</pkgmetadata> |