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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Apr 19 08:45:08 2007 UTC (7 years, 5 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump. Improved initscript thanks to inspiration by Natanael Copa in bug #175024
(Portage version: 2.1.2.2)

1 # Copyright 1999-2006 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.4.ebuild,v 1.1 2006/04/25 14:03:29 dragonheart Exp $
4
5 inherit eutils
6
7 DESCRIPTION="tinc is an easy to configure VPN implementation"
8 HOMEPAGE="http://tinc.nl.linux.org/"
9 SRC_URI="http://tinc.nl.linux.org/packages/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~arm ~sparc ~x86 ~ppc"
14 IUSE=""
15
16 DEPEND=">=dev-libs/openssl-0.9.7c
17 virtual/linux-sources
18 >=dev-libs/lzo-2
19 >=sys-libs/zlib-1.1.4-r2"
20
21 src_unpack() {
22 unpack ${A}
23 epatch ${FILESDIR}/${P}-lzo2.patch
24 }
25
26 src_compile() {
27 econf --enable-jumbograms --with-lzo-include=/usr/include/lzo || die
28 emake || die
29 }
30
31 src_install() {
32 make DESTDIR=${D} install || die
33 dodoc AUTHORS NEWS README THANKS TODO
34 exeinto /etc/init.d ; newexe ${FILESDIR}/tincd tincd
35 }
36
37 pkg_postinst() {
38 einfo "This package requires the tun/tap kernel device."
39 einfo "Look at http://tinc.nl.linux.org/ for how to configure tinc"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20