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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Aug 13 21:53:00 2013 UTC (16 months, 1 week ago) by blueness
Branch: MAIN
Version bump

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

1 # Copyright 1999-2013 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.21.ebuild,v 1.2 2013/04/24 11:19:53 blueness Exp $
4
5 EAPI="5"
6
7 DESCRIPTION="tinc is an easy to configure VPN implementation"
8 HOMEPAGE="http://www.tinc-vpn.org/"
9 SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
14 IUSE="+lzo uml vde +zlib"
15
16 DEPEND=">=dev-libs/openssl-0.9.7
17 lzo? ( dev-libs/lzo:2 )
18 zlib? ( >=sys-libs/zlib-1.1.4 )"
19 RDEPEND="${DEPEND}
20 vde? ( net-misc/vde )"
21
22 src_configure() {
23 econf \
24 --enable-jumbograms \
25 --disable-tunemu \
26 $(use_enable lzo) \
27 $(use_enable uml) \
28 $(use_enable vde) \
29 $(use_enable zlib)
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install
34 dodir /etc/tinc
35 dodoc AUTHORS NEWS README THANKS
36 doinitd "${FILESDIR}"/tincd
37 doinitd "${FILESDIR}"/tincd.lo
38 doconfd "${FILESDIR}"/tinc.networks
39 newconfd "${FILESDIR}"/tincd.conf tincd
40 }
41
42 pkg_postinst() {
43 elog "This package requires the tun/tap kernel device."
44 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20