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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20