homebrew-core/Formula/openssl.rb
Tojek Anselm 4ab5ff708a openssl --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-02 06:56:20 -07:00

25 lines
617 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 options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.include? "--universal"
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