summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-11-26 10:52:34 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-11-26 10:52:34 +0000
commit1c3578e1f747a4334c2682b7de1b6057323d3a90 (patch)
treef161fd77fb80b254a8c393cf144bb9c156066aea /net-analyzer/tptest
parentVersion bump (diff)
downloadhistorical-1c3578e1f747a4334c2682b7de1b6057323d3a90.tar.gz
historical-1c3578e1f747a4334c2682b7de1b6057323d3a90.tar.bz2
historical-1c3578e1f747a4334c2682b7de1b6057323d3a90.zip
Version bump
Diffstat (limited to 'net-analyzer/tptest')
-rw-r--r--net-analyzer/tptest/Manifest4
-rw-r--r--net-analyzer/tptest/files/digest-tptest-3.1.21
-rw-r--r--net-analyzer/tptest/tptest-3.1.2.ebuild44
3 files changed, 47 insertions, 2 deletions
diff --git a/net-analyzer/tptest/Manifest b/net-analyzer/tptest/Manifest
index c8321ba67143..9ab8948f1a25 100644
--- a/net-analyzer/tptest/Manifest
+++ b/net-analyzer/tptest/Manifest
@@ -1,6 +1,6 @@
MD5 f6970304197557d08144449452bc5dc4 tptest-3.1.0.ebuild 779
-MD5 31ca498e1b8c0a038430956fa28d4f72 ChangeLog 335
+MD5 6e1ee22e673292323c129de915cc2ab0 ChangeLog 451
MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220
-MD5 9d9b0a172bca2ecb77e1c8aeffb437fd tptest-3.1.2.ebuild 580
+MD5 3667f08b9fd0d2e636d0e560a6010825 tptest-3.1.2.ebuild 1000
MD5 f268c8a87c38b2b211c6d304a4319535 files/digest-tptest-3.1.0 63
MD5 8675b4967e182af2a1f99f9acc7ac895 files/digest-tptest-3.1.2 63
diff --git a/net-analyzer/tptest/files/digest-tptest-3.1.2 b/net-analyzer/tptest/files/digest-tptest-3.1.2
new file mode 100644
index 000000000000..14ae88cf3c8e
--- /dev/null
+++ b/net-analyzer/tptest/files/digest-tptest-3.1.2
@@ -0,0 +1 @@
+MD5 cb586c485344558efac99a6055f9b1bd tptest3.1.2.tar.gz 290628
diff --git a/net-analyzer/tptest/tptest-3.1.2.ebuild b/net-analyzer/tptest/tptest-3.1.2.ebuild
new file mode 100644
index 000000000000..80af26eb469e
--- /dev/null
+++ b/net-analyzer/tptest/tptest-3.1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tptest/tptest-3.1.2.ebuild,v 1.1 2003/11/26 10:52:29 aliz Exp $
+
+MY_P=${PN}${PV}
+
+DESCRIPTION="Internet bandwidth tester"
+HOMEPAGE="http://tptest.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tptest/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND=">=sys-apps/sed-4"
+#RDEPEND=""
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/apps/unix/server
+ sed -i "s:^CFLAGS\(.*\):CFLAGS\1 ${CFLAGS} :g" Makefile
+
+ cd ${S}/apps/unix/client
+ sed -i "s:^CFLAGS\(.*\):CFLAGS\1 ${CFLAGS} :g" Makefile
+ cp -f ${S}/os-dep/unix/* .
+ cp -f ${S}/engine/* .
+}
+
+src_compile() {
+ cd ${S}/apps/unix/server
+ emake || die
+
+ cd ${S}/apps/unix/client
+ emake || die
+}
+
+src_install() {
+ dobin ${S}/apps/unix/client/tptest
+ dosbin ${S}/apps/unix/server/tptestserver
+
+ insinto /etc
+ doins ${S}/apps/unix/server/tptest.conf
+}