blob: c0516918004f76c909dbc569dd3bdf28e5c9f6f9 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/pingtunnel-0.61.ebuild,v 1.3 2006/01/06 11:39:14 mrness Exp $
DESCRIPTION="Tunnel TCP over ICMP"
HOMEPAGE="http://www.cs.uit.no/~daniels/PingTunnel"
SRC_URI="http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="doc"
DEPEND="net-libs/libpcap"
S="${WORKDIR}/PingTunnel"
src_unpack() {
unpack ${A}
#Don't force CC to gcc and use our CFLAGS
sed -r -i \
-e 's:^CC[ \t]+=:#&:' \
-e 's:^(CFLAGS[ \t]+)=:\1+=:' \
${S}/Makefile
}
src_install() {
make prefix="${D}/usr" install || die "make install has failed"
dodoc CHANGELOG README
if use doc ; then
dohtml web/*
fi
}
|