blob: 2647a51e71c8f6182c05e654adcfa9c065b70ddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2004 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.7 2004/04/27 21:11:31 agriffis Exp $
inherit eutils
S="${WORKDIR}/${P}"
DESCRIPTION="A grep for network layers"
SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2"
RESTRICT="nomirror"
HOMEPAGE="http://ngrep.sourceforge.net"
DEPEND="virtual/glibc
>=net-libs/libpcap-0.5.2
sys-devel/autoconf"
RDEPEND="virtual/glibc"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ppc sparc alpha ~amd64"
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${P}-libpcap-include.patch
epatch ${FILESDIR}/${P}-fix-HAVE_DUMB_UDPHDR-test.patch
}
src_compile() {
autoconf
econf || die
make || die
}
src_install() {
into /usr
dobin ngrep
doman ngrep.8
dodoc BUGS CHANGES COPYRIGHT CREDITS README TODO USAGE
}
|