/[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.2 - (hide annotations) (download)
Mon Mar 26 12:40:17 2012 UTC (2 years, 5 months ago) by blueness
Branch: MAIN
Changes since 1.1: +5 -8 lines
Force disable tunemu, fix bug #409749

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.18.ebuild,v 1.1 2012/03/26 01:44:07 blueness 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     KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~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