public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netio/
Date: Thu, 16 Nov 2017 10:13:09 +0000 (UTC)	[thread overview]
Message-ID: <1510827131.aaebe8559ec6722a1c735e4ec165ae07a6aa1cf2.jer@gentoo> (raw)

commit:     aaebe8559ec6722a1c735e4ec165ae07a6aa1cf2
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 10:12:11 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 10:12:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaebe855

net-analyzer/netio: Update HOMEPAGE/SRC_URI by Nico Baggus (bug #637660).

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 net-analyzer/netio/netio-1.32-r1.ebuild | 48 +++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/net-analyzer/netio/netio-1.32-r1.ebuild b/net-analyzer/netio/netio-1.32-r1.ebuild
new file mode 100644
index 00000000000..afba5e9baeb
--- /dev/null
+++ b/net-analyzer/netio/netio-1.32-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="measures net throughput with NetBIOS and TCP/IP protocols"
+HOMEPAGE="https://web.ars.de/netio/"
+SRC_URI="http://web.ars.de/wp-content/uploads/2017/04/${PN}${PV/./}.zip"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+RESTRICT="mirror" # bug #391789 comment #1
+
+DEPEND="
+	app-arch/unzip
+	>=sys-apps/sed-4
+"
+
+S="${WORKDIR}"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.26-linux-include.patch
+)
+
+src_prepare() {
+	edos2unix *.c *.h *.doc
+
+	default
+
+	sed -i \
+		-e "s|LFLAGS=\"\"|LFLAGS?=\"${LDFLAGS}\"|g" \
+		-e 's|\(CC\)=|\1?=|g' \
+		-e 's|\(CFLAGS\)=|\1+=|g' \
+		Makefile || die
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		CFLAGS="${CFLAGS}" \
+		linux
+}
+
+src_install() {
+	dobin netio
+	dodoc netio.doc
+}


             reply	other threads:[~2017-11-16 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 10:13 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-07 13:52 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netio/ David Seifert
2021-01-06 14:35 Fabian Groffen
2017-11-16 10:13 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1510827131.aaebe8559ec6722a1c735e4ec165ae07a6aa1cf2.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox