blob: bcbbb61372c5619a38335612b2e36e58c9be3f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Danial Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.22-r1.ebuild,v 1.2 2002/07/09 11:11:02 phoenix Exp $
S=${WORKDIR}/${P}
DESCRIPTION="TSL/SSL - Port Wrapper"
SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
HOMEPAGE="http://www.stunnel.org/"
DEPEND="virtual/glibc >=dev-libs/openssl-0.9.6c"
RDEPEND=">=dev-libs/openssl-0.9.6c"
KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
src_unpack() {
unpack ${A}; cd ${S}
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man || die
emake || die
}
src_install() {
into /usr
dosbin stunnel
dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
doman stunnel.8
dolib.so stunnel.so
}
|