summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ngrep/ngrep-1.40.ebuild')
-rw-r--r--net-analyzer/ngrep/ngrep-1.40.ebuild26
1 files changed, 10 insertions, 16 deletions
diff --git a/net-analyzer/ngrep/ngrep-1.40.ebuild b/net-analyzer/ngrep/ngrep-1.40.ebuild
index 4114e3c997c0..3eca6ca9ef4f 100644
--- a/net-analyzer/ngrep/ngrep-1.40.ebuild
+++ b/net-analyzer/ngrep/ngrep-1.40.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.40.ebuild,v 1.1 2001/06/21 20:42:02 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.40.ebuild,v 1.2 2002/04/27 12:43:08 seemant Exp $
-A=${P}.tar.gz
S=${WORKDIR}/ngrep
DESCRIPTION="A grep for network layers"
-SRC_URI="http://prdownloads.sourceforge.net/ngrep/${A}"
+SRC_URI="http://prdownloads.sourceforge.net/ngrep/${P}.tar.gz"
HOMEPAGE="http://ngrep.sourceforge.net"
DEPEND="virtual/glibc
@@ -14,23 +13,18 @@ DEPEND="virtual/glibc
RDEPEND="virtual/glibc"
-#src_unpack() {
-# unpack ${A}
-# patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
-#}
-
src_compile() {
-
- try ./configure --host=${CHOST} --prefix=/usr
- try make
+
+ econf || die
+ make || die
}
src_install() {
- into /usr
- dobin ngrep
- doman ngrep.8
- dodoc BUGS CHANGES COPYRIGHT CREDITS README TODO USAGE
+ into /usr
+ dobin ngrep
+ doman ngrep.8
+ dodoc BUGS CHANGES COPYRIGHT CREDITS README TODO USAGE
}