/[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.3 - (show annotations) (download)
Sat May 12 05:28:45 2012 UTC (2 years, 2 months ago) by heroxbd
Branch: MAIN
Changes since 1.2: +2 -2 lines
keyword ~amd64-linux

(Portage version: 2.1.10.57/cvs/Linux x86_64)

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/tinc/tinc-1.0.18.ebuild,v 1.2 2012/03/26 12:40:17 blueness Exp $
4
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 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
16 IUSE="+lzo uml vde +zlib"
17
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 --disable-tunemu \
33 $(use_enable lzo) \
34 $(use_enable uml) \
35 $(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