blob: 612a51a7b9112158f45df78e37cb72ca1ceb65be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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,
"OpenSSL provided by Leopard is too old for newer software to link against."
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_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
|