summaryrefslogtreecommitdiff
blob: 234d2f14d845edf681fd3311667ac4ce594f4f58 (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
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-ssl/ucspi-ssl-0.50.ebuild,v 1.3 2004/06/24 22:30:48 agriffis Exp $

inherit eutils

IUSE=""
S=${WORKDIR}/${P}
DESCRIPTION="Command-line tools for building SSL client-server applications."
HOMEPAGE="http://www.superscript.com/ucspi-ssl/intro.html"
SRC_URI="http://www.superscript.com/ucspi-ssl/${P}.tar.gz"
DEPEND="virtual/glibc
	>=dev-libs/openssl-0.9.6g
	sys-apps/ucspi-tcp"

SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86 ~amd64"

src_unpack() {
	unpack ${A} ; cd ${S}

	epatch ${FILESDIR}/${P}-errno.patch

	echo "gcc ${CFLAGS} -DTLS -I." > conf-cc
	echo "/usr/" > conf-home
}

src_compile() {
	make || die
}

src_install() {
	for i in sslserver sslclient sslcat sslconnect https\@
	do
		dobin $i
	done

	dodoc CHANGES FILES README SYSDEPS TARGETS TODO UCSPI-SSL VERSION
}