1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs
7 DESCRIPTION="measures net throughput with NetBIOS and TCP/IP protocols"
8 HOMEPAGE="https://web.ars.de/netio/"
9 SRC_URI="http://web.ars.de/wp-content/uploads/2017/04/${PN}${PV/./}.zip"
11 LICENSE="free-noncomm"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
14 RESTRICT="mirror" # bug #391789 comment #1
23 "${FILESDIR}"/${PN}-1.26-linux-include.patch
27 edos2unix *.c *.h *.doc
32 -e "s|LFLAGS=\"\"|LFLAGS?=\"${LDFLAGS}\"|g" \
33 -e 's|\(CC\)=|\1?=|g' \
34 -e 's|\(CFLAGS\)=|\1+=|g' \