summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-07 07:12:16 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-07 07:12:16 +0000
commit3f55c3e58ebf9aea17434062dc799e66e675c8cb (patch)
treec0be23ede55d2b0d1a7f6767b161f11d8f44bba3 /net-analyzer
parentlicense update (diff)
downloadgentoo-2-3f55c3e58ebf9aea17434062dc799e66e675c8cb.tar.gz
gentoo-2-3f55c3e58ebf9aea17434062dc799e66e675c8cb.tar.bz2
gentoo-2-3f55c3e58ebf9aea17434062dc799e66e675c8cb.zip
use sed -i; sed in unpack; error message for emake; Readme.txt, not Readme
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bing/ChangeLog5
-rw-r--r--net-analyzer/bing/Manifest4
-rw-r--r--net-analyzer/bing/bing-1.1.3.ebuild25
3 files changed, 21 insertions, 13 deletions
diff --git a/net-analyzer/bing/ChangeLog b/net-analyzer/bing/ChangeLog
index ba094707960f..0c23f0eba68d 100644
--- a/net-analyzer/bing/ChangeLog
+++ b/net-analyzer/bing/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/bing
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bing/ChangeLog,v 1.1 2003/09/06 23:33:49 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bing/ChangeLog,v 1.2 2003/09/07 07:12:08 msterret Exp $
+
+ 07 Sep 2003; Michael Sterrett <msterret@gentoo.org> bing-1.1.3.ebuild:
+ use sed -i; sed in unpack; error message for emake; Readme.txt, not Readme
*bing-1.1.3 (06 Sep 2003)
diff --git a/net-analyzer/bing/Manifest b/net-analyzer/bing/Manifest
index 2f92a6d2086f..2cd1735c7673 100644
--- a/net-analyzer/bing/Manifest
+++ b/net-analyzer/bing/Manifest
@@ -1,3 +1,3 @@
-MD5 bf0143d9ae1977c2b1765020b93cd364 ChangeLog 337
-MD5 743c1120ccfbbf0fc91b51ea51e4f8b2 bing-1.1.3.ebuild 773
+MD5 2111d72c284576214f7485ba23c34016 ChangeLog 493
+MD5 ee836da01b2dd0db36155eab32d784ad bing-1.1.3.ebuild 832
MD5 bf66c0ba5f0a560b8714360b378c26b6 files/digest-bing-1.1.3 66
diff --git a/net-analyzer/bing/bing-1.1.3.ebuild b/net-analyzer/bing/bing-1.1.3.ebuild
index ba622aebaf33..8b64efab9c03 100644
--- a/net-analyzer/bing/bing-1.1.3.ebuild
+++ b/net-analyzer/bing/bing-1.1.3.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bing/bing-1.1.3.ebuild,v 1.2 2003/09/07 07:04:03 msterret Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bing/bing-1.1.3.ebuild,v 1.3 2003/09/07 07:12:08 msterret Exp $
DESCRIPTION="A point-to-point bandwidth measurement tool."
-SRC_URI="http://distro.ibiblio.org/pub/Linux/distributions/debian/pool/main/b/bing/${PN}_1.1.3.orig.tar.gz"
+SRC_URI="http://distro.ibiblio.org/pub/Linux/distributions/debian/pool/main/b/bing/${PN}_${PV}.orig.tar.gz"
HOMEPAGE="http://www.cnam.fr/reseau/bing.html"
KEYWORDS="~x86 ~sparc"
@@ -12,19 +11,25 @@ SLOT="0"
LICENSE="as-is"
IUSE=""
-DEPEND="virtual/glibc"
-RDEPEND=""
+RDEPEND="virtual/glibc"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
-S="${WORKDIR}/${P}"
+ sed -i \
+ -e "s:#COPTIM = -g: COPTIM = ${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
src_compile() {
- cp Makefile Makefile.orig
- sed -e "s:#COPTIM = -g: COPTIM = ${CLFAGS}:" Makefile.orig > Makefile
- emake || die
+ emake || die "emake failed"
}
src_install() {
dobin bing
doman unix/bing.8
- dodoc ChangeLog Readme.1st Readme
+ dodoc ChangeLog Readme.{1st,txt}
}