summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
commit92aa49df5fbb94f611714048bc4f5764eb790368 (patch)
tree8733810875a5a5e23fac4fb5667964a5ef22d824 /dev-libs
parent*** empty log message *** (diff)
downloadgentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.gz
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.bz2
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.zip
*** empty log message ***
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/openssl-0.9.6-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/openssl/openssl-0.9.6-r1.ebuild b/dev-libs/openssl/openssl-0.9.6-r1.ebuild
new file mode 100644
index 000000000000..9a053c4be21d
--- /dev/null
+++ b/dev-libs/openssl/openssl-0.9.6-r1.ebuild
@@ -0,0 +1,49 @@
+# 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.6-r1.ebuild,v 1.1 2001/03/09 10:26:59 achim 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}"
+HOMEPAGE="http://www.opensl.org/"
+
+DEPEND="virtual/glibc >=sys-devel/perl-5"
+
+
+RDEPEND="virtual/glibc "
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-Makefile.org-gentoo.diff
+ cp Configure Configure.orig
+ sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" \
+ Configure.orig > Configure
+
+}
+
+src_compile() {
+
+ ./config --prefix=/usr --openssldir=/usr/ssl threads
+ try make shlib
+}
+
+src_install() {
+ dodir /usr/ssl
+ try make INSTALL_PREFIX=${D} install
+
+ dolib.so shlib_dir/libcrypto.so.0.9.4
+ dolib.so shlib_dir/libssl.so.0.9.4
+ preplib /usr
+ 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
+}
+
+
+