summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-16 02:42:53 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-16 02:42:53 +0000
commit416b6015ea066fb5c9388648170c1d650f8db645 (patch)
tree1e8af68f60b958ec1feac2ce7c6b07ba83d9f6cf /net-analyzer/nttcp
parentHonor user's LDFLAGs for bug #337521. Marked 1.20 ppc/ppc64 stable. (diff)
downloadgentoo-2-416b6015ea066fb5c9388648170c1d650f8db645.tar.gz
gentoo-2-416b6015ea066fb5c9388648170c1d650f8db645.tar.bz2
gentoo-2-416b6015ea066fb5c9388648170c1d650f8db645.zip
Respect LDFLAGS (bug #337552).
(Portage version: 2.2_rc81/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/nttcp')
-rw-r--r--net-analyzer/nttcp/ChangeLog9
-rw-r--r--net-analyzer/nttcp/nttcp-1.47-r1.ebuild25
2 files changed, 32 insertions, 2 deletions
diff --git a/net-analyzer/nttcp/ChangeLog b/net-analyzer/nttcp/ChangeLog
index 5bbdcf7f0762..b2545f03868f 100644
--- a/net-analyzer/nttcp/ChangeLog
+++ b/net-analyzer/nttcp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nttcp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nttcp/ChangeLog,v 1.12 2009/09/23 18:22:48 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nttcp/ChangeLog,v 1.13 2010/09/16 02:42:53 jer Exp $
+
+*nttcp-1.47-r1 (16 Sep 2010)
+
+ 16 Sep 2010; Jeroen Roovers <jer@gentoo.org> +nttcp-1.47-r1.ebuild:
+ Respect LDFLAGS (bug #337552).
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> nttcp-1.47.ebuild:
Remove virtual/libc
diff --git a/net-analyzer/nttcp/nttcp-1.47-r1.ebuild b/net-analyzer/nttcp/nttcp-1.47-r1.ebuild
new file mode 100644
index 000000000000..d961f6709e8e
--- /dev/null
+++ b/net-analyzer/nttcp/nttcp-1.47-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nttcp/nttcp-1.47-r1.ebuild,v 1.1 2010/09/16 02:42:53 jer Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="tool to test TCP and UDP throughput"
+HOMEPAGE="http://www.leo.org/~elmar/nttcp/"
+SRC_URI="http://www.leo.org/~elmar/nttcp/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_compile() {
+ emake ARCH= CC="$(tc-getCC)" OPT="${CFLAGS}" LFLAGS="${LDFLAGS}" || die "build failed"
+}
+
+src_install() {
+ dobin nttcp || die
+ doman nttcp.1
+}