summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-20 18:32:35 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-20 18:32:35 +0000
commitd72828e1ff05419f3b96ece184531b68ff342663 (patch)
tree421f322692d3b17da57c87da7415ac003e94e3ce /net-analyzer/tptest
parentRemove unused files. (diff)
downloadhistorical-d72828e1ff05419f3b96ece184531b68ff342663.tar.gz
historical-d72828e1ff05419f3b96ece184531b68ff342663.tar.bz2
historical-d72828e1ff05419f3b96ece184531b68ff342663.zip
Respect LDFLAGS (bug #338172). Simply a lot of the ebuild.
Package-Manager: portage-2.2_rc84/cvs/Linux i686
Diffstat (limited to 'net-analyzer/tptest')
-rw-r--r--net-analyzer/tptest/ChangeLog9
-rw-r--r--net-analyzer/tptest/Manifest3
-rw-r--r--net-analyzer/tptest/tptest-3.1.7-r1.ebuild46
3 files changed, 55 insertions, 3 deletions
diff --git a/net-analyzer/tptest/ChangeLog b/net-analyzer/tptest/ChangeLog
index 28ee1277843a..d70ab4a3105f 100644
--- a/net-analyzer/tptest/ChangeLog
+++ b/net-analyzer/tptest/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/tptest
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tptest/ChangeLog,v 1.11 2008/11/08 15:29:23 cedk Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tptest/ChangeLog,v 1.12 2010/09/20 18:32:35 jer Exp $
+
+*tptest-3.1.7-r1 (20 Sep 2010)
+
+ 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> +tptest-3.1.7-r1.ebuild:
+ Respect LDFLAGS (bug #338172). Simply a lot of the ebuild.
08 Nov 2008; CĂ©dric Krier <cedk@gentoo.org> tptest-3.1.7.ebuild:
Fix C(XX)FLAGS and CC for bug #240866
diff --git a/net-analyzer/tptest/Manifest b/net-analyzer/tptest/Manifest
index 11fda4ad10dc..21ca537d8e15 100644
--- a/net-analyzer/tptest/Manifest
+++ b/net-analyzer/tptest/Manifest
@@ -1,4 +1,5 @@
DIST tptest-3.1.7.tar.gz 313801 RMD160 a36341a66d00aae0c0c32ff283be9f487c033322 SHA1 4f326e0049541544abf33265e55eb7e4cd8e6f83 SHA256 db39257b3ee6408a575e16804975df1e68f52270537cc3e7505897b777f7994d
+EBUILD tptest-3.1.7-r1.ebuild 1007 RMD160 a2e76bd450b9e20a84fc9046653d5d9d9e57100f SHA1 7456ffe3699645648c8d7dcd77a3e4018a4489e5 SHA256 5cb37b7b6f251d1f532e82418129280dec7b68f2ebb5212604e3e07f597e9c11
EBUILD tptest-3.1.7.ebuild 1095 RMD160 513b561c6f85ef46fc6bbc6897c1e651b0d2a78a SHA1 8f1dd5d5e85d6833391116358d3110d52ce799fd SHA256 dcad380fa4cdaa09f8a47276922fb06a0742ab7a19a0d479d7cac6879f885aee
-MISC ChangeLog 1286 RMD160 675dbee4dcd427d3e8f01793f28877d80111bd79 SHA1 66dbde2ab3f1fe021c675910320a623dc00f12c8 SHA256 67ea9852ac02dc1f1109f0e9fbff8c22dda4ebe35e5cd2af8a64beb13aed3a1b
+MISC ChangeLog 1451 RMD160 f243a4909f9002ad0debc112ba598d70c051c6d6 SHA1 5cda6c5c439c37348b0466dc8cf24aa4ebe1ecea SHA256 4fecb0d927c13384ca7780d1f418ff1e795a079291e6c9b94c4ef398170549bd
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
diff --git a/net-analyzer/tptest/tptest-3.1.7-r1.ebuild b/net-analyzer/tptest/tptest-3.1.7-r1.ebuild
new file mode 100644
index 000000000000..30f9c1a467b2
--- /dev/null
+++ b/net-analyzer/tptest/tptest-3.1.7-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tptest/tptest-3.1.7-r1.ebuild,v 1.1 2010/09/20 18:32:35 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+MY_PV="${PV/./_}"
+
+DESCRIPTION="Internet bandwidth tester"
+HOMEPAGE="http://tptest.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i apps/unix/{client,server}/Makefile \
+ -e "s:^CFLAGS[[:space:]]*=:CFLAGS+=:" \
+ || die "sed Makefiles"
+
+ cp -f os-dep/unix/* .
+ cp -f engine/* .
+}
+
+src_compile() {
+ emake -C apps/unix/client \
+ CC=$(tc-getCC) \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake client"
+ emake -C apps/unix/server \
+ CC=$(tc-getCC) \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake server"
+}
+
+src_install() {
+ dobin apps/unix/client/tptestclient
+ dosbin apps/unix/server/tptestserver
+
+ insinto /etc
+ doins apps/unix/server/tptest.conf
+}