Permalink
Browse files

openssl 0.9.8t

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
jacknagel committed Mar 11, 2012
1 parent 95bdf13 commit a79daec35bd3a2bef6880af7aa9f9e3b6920cdbe
Showing with 26 additions and 0 deletions.
  1. +26 −0 versions/openssl098.rb
View
@@ -0,0 +1,26 @@
+require 'formula'
+
+class Openssl098 < Formula
+ homepage 'http://www.openssl.org'
+ url 'http://www.openssl.org/source/openssl-0.9.8t.tar.gz'
+ sha1 '42e2ba06cc859d61f645915c9a30326eda371a5e'
+
+ keg_only :provided_by_osx,
+ "The OpenSSL provided by Leopard (0.9.7) is too old for some software."
+
+ def install
+ system "./config", "--prefix=#{prefix}",
+ "--openssldir=#{etc}/openssl",
+ "zlib-dynamic", "shared"
+
+ ENV.deparallelize # Parallel compilation fails
+ system "make"
+ system "make test"
+ system "make install MANDIR=#{man} MANSUFFIX=ssl"
+ end
+
+ def caveats; <<-EOS.undent
+ Note that the libraries built tend to be 32-bit only, even on Snow Leopard.
+ EOS
+ end
+end

0 comments on commit a79daec

Please sign in to comment.