| 1 |
dragonheart |
1.2 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
dragonheart |
1.1 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
dragonheart |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.7.ebuild,v 1.1 2007/04/19 08:45:08 dragonheart Exp $ |
| 4 |
dragonheart |
1.1 |
|
| 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 |
dragonheart |
1.2 |
dodir /etc/tinc |
| 28 |
dragonheart |
1.1 |
dodoc AUTHORS NEWS README THANKS |
| 29 |
|
|
doinitd "${FILESDIR}"/tincd |
| 30 |
|
|
} |
| 31 |
|
|
|
| 32 |
|
|
pkg_postinst() { |
| 33 |
|
|
elog "This package requires the tun/tap kernel device." |
| 34 |
|
|
elog "Look at http://www.tinc-vpn.org/ for how to configure tinc" |
| 35 |
|
|
} |