blob: c3278cf304d9f92054c2c25aebd920475b139359 (
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
|
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
|