diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-11-10 12:05:20 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-11-10 12:05:20 +0000 |
commit | c5e53db0be2e3534202f4ca04a105b0605cb64fd (patch) | |
tree | 6b04ee29b8b080b619e357eb61291dd2f9d8398d /dev-libs/openssl | |
parent | A=-fix, try->die,... (diff) | |
download | historical-c5e53db0be2e3534202f4ca04a105b0605cb64fd.tar.gz historical-c5e53db0be2e3534202f4ca04a105b0605cb64fd.tar.bz2 historical-c5e53db0be2e3534202f4ca04a105b0605cb64fd.zip |
A=-fix, try->die, tab-fixes, stylefixes, ...
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6b.ebuild | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/dev-libs/openssl/openssl-0.9.6b.ebuild b/dev-libs/openssl/openssl-0.9.6b.ebuild index b4fb45560c27..f2d862f584e9 100644 --- a/dev-libs/openssl/openssl-0.9.6b.ebuild +++ b/dev-libs/openssl/openssl-0.9.6b.ebuild @@ -1,47 +1,50 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6b.ebuild,v 1.6 2001/08/31 03:23:38 pm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6b.ebuild,v 1.7 2001/11/10 12:05:20 hallski Exp $ -A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -SRC_URI="http://www.openssl.org/source/${A}" +SRC_URI="http://www.openssl.org/source/${P}.tar.gz" HOMEPAGE="http://www.opensl.org/" -DEPEND="virtual/glibc >=sys-devel/perl-5" +RDEPEND="virtual/glibc" +DEPEND="${RDEPEND} + >=sys-devel/perl-5" -RDEPEND="virtual/glibc " src_unpack() { - - unpack ${A} - cd ${S} - try patch -p0 < ${FILESDIR}/${P}-Makefile.org-gentoo.diff - cp Configure Configure.orig - sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" \ - Configure.orig > Configure -# Makefile borkage. The MANDIR is set to ${OPENSSLDIR}/man which is lame - sed -e 's:MANDIR=$(OPENSSLDIR)/man:MANDIR=/usr/share/man:g' Makefile | cat > Makefile + unpack ${A} + cd ${S} + try patch -p0 < ${FILESDIR}/${P}-Makefile.org-gentoo.diff + cp Configure Configure.orig + sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" \ + Configure.orig > Configure + + # Makefile borkage. The MANDIR is set to ${OPENSSLDIR}/man + # which is lame + sed -e 's:MANDIR=$(OPENSSLDIR)/man:MANDIR=/usr/share/man:g' \ + Makefile | cat > Makefile } - src_compile() { + ./config --prefix=/usr \ + --openssldir=/usr/ssl \ + shared threads || die - ./config --prefix=/usr --openssldir=/usr/ssl shared threads - try make all + make all || die } src_install() { - dodir /usr/ssl - try make INSTALL_PREFIX=${D} install - - dodoc CHANGES* FAQ LICENSE NEWS README - dodoc doc/*.txt - docinto html - dodoc doc/*.gif doc/*.html - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el + dodir /usr/ssl + make INSTALL_PREFIX=${D} install || die + + dodoc CHANGES* FAQ LICENSE NEWS README + dodoc doc/*.txt + docinto html + dodoc doc/*.gif doc/*.html + insinto /usr/share/emacs/site-lisp + doins doc/c-indentation.el } |