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

Contents of /net-misc/tinc/tinc-1.0.16-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jan 31 22:53:03 2012 UTC (2 years, 8 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fix bug #401423 and removed older ~arch

(Portage version: 2.1.10.44/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.16-r1.ebuild,v 1.2 2012/01/15 19:48:38 tove Exp $
4
5 EAPI=4
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 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
14 IUSE="+lzo +zlib"
15
16 DEPEND=">=dev-libs/openssl-0.9.7c
17 lzo? ( dev-libs/lzo:2 )
18 zlib? ( >=sys-libs/zlib-1.1.4-r2 )"
19 RDEPEND="${DEPEND}"
20
21 src_configure() {
22 econf --enable-jumbograms $(use_enable lzo) $(use_enable zlib)
23 }
24
25 src_install() {
26 emake DESTDIR="${D}" install
27 dodir /etc/tinc
28 dodoc AUTHORS NEWS README THANKS
29 newinitd "${FILESDIR}"/tincd.1 tincd
30 newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo
31 doconfd "${FILESDIR}"/tinc.networks
32 newconfd "${FILESDIR}"/tincd.conf.1 tincd
33 }
34
35 pkg_postinst() {
36 elog "This package requires the tun/tap kernel device."
37 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20