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