# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.41.ebuild,v 1.3 2003/11/02 22:20:53 azarah Exp $ S=${WORKDIR}/${P} DESCRIPTION="A grep for network layers" SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2" HOMEPAGE="http://ngrep.sourceforge.net" DEPEND="virtual/glibc >=net-libs/libpcap-0.5.2" RDEPEND="virtual/glibc" SLOT="0" LICENSE="as-is" KEYWORDS="~x86 ~ppc ~sparc ~alpha" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-fix-HAVE_DUMB_UDPHDR-test.patch } src_compile() { econf || die make || die } src_install() { into /usr dobin ngrep doman ngrep.8 dodoc BUGS CHANGES COPYRIGHT CREDITS README TODO USAGE }