summaryrefslogtreecommitdiff
blob: 6d15d1fa612ff22e8d1df2f756010f0e433e8542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Measures the speed of stdin/stdout communication"
HOMEPAGE="https://www.habets.pp.se/synscan/programs_pipebench.html"
SRC_URI="https://www.habets.pp.se/synscan/files/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 x86 ~x86-linux"

PATCHES=( "${FILESDIR}"/${PN}-0.40-fix-build-system.patch )

src_configure() {
	append-cflags -Wall -w -pedantic
	tc-export CC
}