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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Apr 19 08:45:08 2007 UTC (7 years, 8 months ago) by dragonheart
Branch: MAIN
version bump. Improved initscript thanks to inspiration by Natanael Copa in bug #175024
(Portage version: 2.1.2.2)

1 dragonheart 1.1 # Copyright 1999-2007 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.5.ebuild,v 1.2 2007/04/07 13:38:28 opfer Exp $
4    
5     DESCRIPTION="tinc is an easy to configure VPN implementation"
6     HOMEPAGE="http://www.tinc-vpn.org/"
7     SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
8    
9     LICENSE="GPL-2"
10     SLOT="0"
11     KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
12     IUSE="nls"
13    
14     DEPEND=">=dev-libs/openssl-0.9.7c
15     virtual/linux-sources
16     >=dev-libs/lzo-2
17     >=sys-libs/zlib-1.1.4-r2
18     nls? ( sys-devel/gettext )"
19    
20     src_compile() {
21     econf --enable-jumbograms $(use_enable nls) || die
22     emake || die
23     }
24    
25     src_install() {
26     emake DESTDIR="${D}" install || die
27     dodoc AUTHORS NEWS README THANKS
28     doinitd "${FILESDIR}"/tincd
29     }
30    
31     pkg_postinst() {
32     elog "This package requires the tun/tap kernel device."
33     elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
34     }

  ViewVC Help
Powered by ViewVC 1.1.20