/[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.9 - (hide annotations) (download)
Thu Oct 14 14:32:48 2004 UTC (10 years, 2 months ago) by usata
Branch: MAIN
Changes since 1.8: +12 -3 lines
Added to ~ppc-macos.

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

  ViewVC Help
Powered by ViewVC 1.1.20