/[gentoo-x86]/net-misc/stunnel/stunnel-3.26.ebuild
Gentoo

Contents of /net-misc/stunnel/stunnel-3.26.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 09:54:49 2005 UTC (8 years, 7 months ago) by chriswhite
Changes since 1.1: +23 -10 lines
*** empty log message ***

1 chriswhite 1.1.1.1 # Copyright 1999-2005 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 chriswhite 1.1.1.1 # $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.12 2005/06/25 00:45:38 ramereth Exp $
4 vapier 1.1
5     inherit eutils
6    
7     DESCRIPTION="TLS/SSL - Port Wrapper"
8     HOMEPAGE="http://www.stunnel.org/"
9 chriswhite 1.1.1.1 SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
10    
11 vapier 1.1 LICENSE="GPL-2"
12     SLOT="0"
13 chriswhite 1.1.1.1 KEYWORDS="x86 sparc alpha ppc ~amd64 ~ppc-macos"
14     IUSE="selinux"
15    
16     RDEPEND=">=dev-libs/openssl-0.9.6j
17     selinux? ( sec-policy/selinux-stunnel )"
18     DEPEND="${RDEPEND}
19     virtual/libc"
20 vapier 1.1
21     src_unpack() {
22 chriswhite 1.1.1.1 unpack ${A}
23     cd ${S}
24 vapier 1.1 epatch ${FILESDIR}/${P}-gentoo.diff
25 chriswhite 1.1.1.1 if use ppc-macos ; then
26     sed -i -e "s,-shared,-dynamic -flat_namespace -bundle -undefined suppress,g" \
27     -e "s,stunnel.so,stunnel.dylib,g" \
28     Makefile.in || die "sed failed"
29     fi
30 vapier 1.1 }
31    
32     src_compile() {
33     econf || die
34     emake || die
35     }
36    
37     src_install() {
38     dosbin stunnel
39     dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
40     doman stunnel.8
41 chriswhite 1.1.1.1 if use ppc-macos ; then
42     dolib.so stunnel.dylib
43     else
44     dolib.so stunnel.so
45     fi
46 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20