diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-08-26 16:02:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-08-26 16:02:15 +0000 |
commit | fa5d11ac54f3f7bbc88b06219a76d98a44474752 (patch) | |
tree | bcecc3c8306edbc3f89e3c23849e0bc4bb5db324 /net-analyzer/ttcp/ttcp-1.12-r1.ebuild | |
parent | Taking over from Mr. Maintainer-Needed, who hasn't shown much activity. (diff) | |
download | gentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.tar.gz gentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.tar.bz2 gentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.zip |
Respect LDFLAGS (bug #334651). Fix quoting. Always apply "amd64" patch (fix a couple of implicit declaration warnings for everyone).
(Portage version: 2.2_rc69/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/ttcp/ttcp-1.12-r1.ebuild')
-rw-r--r-- | net-analyzer/ttcp/ttcp-1.12-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/ttcp/ttcp-1.12-r1.ebuild b/net-analyzer/ttcp/ttcp-1.12-r1.ebuild new file mode 100644 index 000000000000..9da0d585857b --- /dev/null +++ b/net-analyzer/ttcp/ttcp-1.12-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ttcp/ttcp-1.12-r1.ebuild,v 1.1 2010/08/26 16:02:15 jer Exp $ + +EAPI="2" + +inherit toolchain-funcs eutils + +IUSE="" +DESCRIPTION="Tool to test TCP and UDP throughput" +HOMEPAGE="http://ftp.arl.mil/~mike/ttcp.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/ttcp-1.12-amd64.patch +} + +src_compile() { + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ttcp sgi-ttcp.c || die "compile failed" +} + +src_install() { + dobin ttcp + newman sgi-ttcp.1 ttcp.1 +} |