app-misc/pipeworks: EAPI 6 bump
authorAmy Liffey <amynka@gentoo.org>
Tue, 19 Sep 2017 08:11:47 +0000 (10:11 +0200)
committerAmy Liffey <amynka@gentoo.org>
Tue, 19 Sep 2017 08:12:38 +0000 (10:12 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-misc/pipeworks/pipeworks-0.4-r1.ebuild [new file with mode: 0644]

diff --git a/app-misc/pipeworks/pipeworks-0.4-r1.ebuild b/app-misc/pipeworks/pipeworks-0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..2d27816
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A small utility that measures throughput between stdin and stdout"
+HOMEPAGE="http://pipeworks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_compile() {
+       emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+       dobin pipeworks || die "dobin failed"
+       doman pipeworks.1
+       dodoc Changelog README
+}