summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-01-06 11:39:14 +0000
committerAlin Năstac <mrness@gentoo.org>2006-01-06 11:39:14 +0000
commit6e88287ffd037e16aa704f1f1b4a47b87c7b6385 (patch)
treea610486c973a70464050452fb9da7372375751ca /net-proxy/pingtunnel/pingtunnel-0.61.ebuild
parentCall eautomake, not eautoconf. (diff)
downloadhistorical-6e88287ffd037e16aa704f1f1b4a47b87c7b6385.tar.gz
historical-6e88287ffd037e16aa704f1f1b4a47b87c7b6385.tar.bz2
historical-6e88287ffd037e16aa704f1f1b4a47b87c7b6385.zip
Add suplementary documentation depending on doc useflag (#117528); merge our CFLAGS instead of deleting the original ones
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-proxy/pingtunnel/pingtunnel-0.61.ebuild')
-rw-r--r--net-proxy/pingtunnel/pingtunnel-0.61.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/net-proxy/pingtunnel/pingtunnel-0.61.ebuild b/net-proxy/pingtunnel/pingtunnel-0.61.ebuild
index 5771cb8f5549..c0516918004f 100644
--- a/net-proxy/pingtunnel/pingtunnel-0.61.ebuild
+++ b/net-proxy/pingtunnel/pingtunnel-0.61.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# 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.2 2005/07/17 18:49:33 dholm Exp $
+# $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"
@@ -9,20 +9,26 @@ SRC_URI="http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc ~x86"
-IUSE=""
+IUSE="doc"
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}"
+DEPEND="net-libs/libpcap"
S="${WORKDIR}/PingTunnel"
src_unpack() {
unpack ${A}
- sed -r -i -e 's:^(CFLAGS|CC):#&:' ${S}/Makefile
+ #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
}