blob: 75a5a205c0a6c644ac701fd06e804bc060b0b804 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc1.ebuild,v 1.2 2002/07/11 06:30:43 drobbins Exp $
# NOTE: author couldn't make up mind over tarball names, directory names,
# etc... hense the need to hardcode S and SRC_URI :(
S=${WORKDIR}/hping2
DESCRIPTION="hping is a command-line oriented TCP/IP packet assembler/analyzer whose interface is inspired by the unix ping command"
SRC_URI="http://www.hping.org/hping2.0.0-rc1.tar.gz"
HOMEPAGE="http://www.hping.org"
SLOT="0"
DEPEND="net-libs/libpcap"
src_compile() {
cd ${S}
./configure || die
make CCOPT="$CFLAGS" || die
make strip
}
src_install () {
cd ${S}
dodir /usr/sbin
dosbin hping2
dosym /usr/sbin/hping2 /usr/sbin/hping
doman docs/hping2.8
dodoc INSTALL KNOWN-BUGS MIRRORS NEWS README TODO AUTHORS BUGS CHANGES COPYING
}
|