/[gentoo-x86]/net-misc/ptunnel/ptunnel-0.72.ebuild
Gentoo

Contents of /net-misc/ptunnel/ptunnel-0.72.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Dec 10 21:27:03 2012 UTC (7 years, 1 month ago) by dastergon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Moving net-misc/ptunnel to net-proxy/pingtunnel

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ptunnel/ptunnel-0.72.ebuild,v 1.1 2012/12/06 20:05:10 dastergon Exp $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 MY_PN="PingTunnel"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Reliably tunnel TCP connections over ICMP packets"
13 HOMEPAGE="http://www.cs.uit.no/~daniels/PingTunnel/"
14 SRC_URI="http://www.cs.uit.no/~daniels/${MY_PN}/${MY_P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="doc selinux"
20
21 DEPEND="
22 net-libs/libpcap
23 selinux? ( sys-libs/libselinux )
24 "
25 RDEPEND="${DEPEND}"
26
27 S=${WORKDIR}/${MY_PN}
28
29 src_prepare(){
30 epatch "${FILESDIR}"/${P}_makefile.patch
31 }
32
33 src_compile() {
34 tc-export CC
35 emake $(usex selinux "SELINUX=1" "SELINUX=0")
36 }
37
38 src_install() {
39 default
40 use doc && dohtml web/*
41 }

  ViewVC Help
Powered by ViewVC 1.1.20