/[gentoo-x86]/net-misc/sslwrap/sslwrap-2.0.6.ebuild
Gentoo

Contents of /net-misc/sslwrap/sslwrap-2.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Mon Sep 20 19:05:16 2010 UTC (10 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Fix quoting in cp command and have it die for good measure. Respect LDFLAGS (bug #335001), CC. Do not hard-wire CFLAGS. Make sed die. Update HOMEPAGE, SRC_URI.

(Portage version: 2.2_rc84/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslwrap/sslwrap-2.0.6.ebuild,v 1.13 2009/03/22 13:27:00 jmbsvicetto Exp $
4
5 inherit eutils
6
7 DESCRIPTION="TSL/SSL - Port Wrapper"
8 HOMEPAGE="http://quiltaholic.com/rickk/sslwrap/"
9 SRC_URI="http://quiltaholic.com/rickk/sslwrap/${PN}${PV/.0./0}.tar.gz
10 mirror://gentoo/${PN}-gentoo.tar.bz2"
11
12 LICENSE="sslwrap"
13 SLOT="0"
14 KEYWORDS="x86 sparc"
15 IUSE=""
16
17 DEPEND=">=dev-libs/openssl-0.9.6"
18 RDEPEND="${DEPEND}"
19
20 S=${WORKDIR}/${PN}${PV//.}
21
22 src_unpack () {
23 unpack ${A}
24 cd "${S}"
25 sed -i \
26 -e "s:-O2:${CFLAGS}:" \
27 -e "s:/usr/local/ssl/include:/usr/include/openssl:" \
28 Makefile
29
30 cp "${WORKDIR}/${PN}-gentoo/*.c" "${S}"
31 has_version '=dev-libs/openssl-0.9.7*' \
32 && epatch "${FILESDIR}/${PV}"-openssl-0.9.7.patch
33 sed -i \
34 -e "s:OPENSSL\":\"openssl\/:g" \
35 *.h *.c
36 }
37
38 src_install() {
39 dosbin sslwrap
40 dodoc README
41 dohtml -r ./
42 }

  ViewVC Help
Powered by ViewVC 1.1.20