/[gentoo-x86]/net-misc/tinc/tinc-1.0.18.ebuild
Gentoo

Contents of /net-misc/tinc/tinc-1.0.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Mar 5 02:41:34 2013 UTC (17 months, 2 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove older unstable version

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.18.ebuild,v 1.3 2012/05/12 05:28:45 heroxbd Exp $
4 blueness 1.1
5     EAPI="4"
6    
7     inherit eutils autotools
8    
9     DESCRIPTION="tinc is an easy to configure VPN implementation"
10     HOMEPAGE="http://www.tinc-vpn.org/"
11     SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 heroxbd 1.3 KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
16 blueness 1.2 IUSE="+lzo uml vde +zlib"
17 blueness 1.1
18     DEPEND=">=dev-libs/openssl-0.9.7
19     lzo? ( dev-libs/lzo:2 )
20     zlib? ( >=sys-libs/zlib-1.1.4 )"
21     RDEPEND="${DEPEND}
22     vde? ( net-misc/vde )"
23    
24     src_prepare() {
25     epatch "${FILESDIR}"/fix-ac-arg-enable.patch
26     eautoreconf
27     }
28    
29     src_configure() {
30     econf \
31     --enable-jumbograms \
32 blueness 1.2 --disable-tunemu \
33     $(use_enable lzo) \
34     $(use_enable uml) \
35 blueness 1.1 $(use_enable vde) \
36     $(use_enable zlib)
37     }
38    
39     src_install() {
40     emake DESTDIR="${D}" install
41     dodir /etc/tinc
42     dodoc AUTHORS NEWS README THANKS
43     newinitd "${FILESDIR}"/tincd.1 tincd
44     newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo
45     doconfd "${FILESDIR}"/tinc.networks
46     newconfd "${FILESDIR}"/tincd.conf.1 tincd
47     }
48    
49     pkg_postinst() {
50     elog "This package requires the tun/tap kernel device."
51     elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
52     }

  ViewVC Help
Powered by ViewVC 1.1.20