e9acd0eaee
* Compiling some software on 10.5 requires a newer OpenSSL than the system provided one.
20 lines
489 B
Ruby
20 lines
489 B
Ruby
require 'formula'
|
|
|
|
class Openssl <Formula
|
|
url 'http://www.openssl.org/source/openssl-0.9.8o.tar.gz'
|
|
version '0.9.8o'
|
|
homepage 'http://www.openssl.org'
|
|
md5 '63ddc5116488985e820075e65fbe6aa4'
|
|
|
|
keg_only :provided_by_osx
|
|
|
|
def install
|
|
ENV.j1 # Breaks on Mac Pro
|
|
system "./config", "--prefix=#{prefix}",
|
|
"--openssldir=#{etc}",
|
|
"zlib-dynamic", "shared"
|
|
system "make"
|
|
system "make test"
|
|
system "make install"
|
|
end
|
|
end
|