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/stunnel/stunnel-3.26.ebuild,v 1.15 2007/09/20 12:42:24 rbu Exp $ |
4 |
|
5 |
inherit eutils |
6 |
|
7 |
DESCRIPTION="TLS/SSL - Port Wrapper" |
8 |
HOMEPAGE="http://www.stunnel.org/" |
9 |
SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz" |
10 |
|
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
13 |
KEYWORDS="alpha ppc sparc x86" |
14 |
IUSE="selinux" |
15 |
|
16 |
DEPEND=">=dev-libs/openssl-0.9.6j |
17 |
selinux? ( sec-policy/selinux-stunnel )" |
18 |
|
19 |
src_unpack() { |
20 |
unpack ${A} |
21 |
cd ${S} |
22 |
epatch ${FILESDIR}/${P}-gentoo.diff |
23 |
} |
24 |
|
25 |
src_compile() { |
26 |
econf || die |
27 |
emake || die |
28 |
} |
29 |
|
30 |
src_install() { |
31 |
dosbin stunnel |
32 |
dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt |
33 |
doman stunnel.8 |
34 |
} |