We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8fb6df + ced4af8 commit b9c8d47Copy full SHA for b9c8d47
openssl/openssl-1.0.1m.knapfile
@@ -0,0 +1,36 @@
1
+recipe "openssl", "1.0.1m" do
2
+ use :autotools
3
+
4
+ fetch "https://www.openssl.org/source/openssl-1.0.1m.tar.gz",
5
+ :md5 => "d143d1555d842a069cb7cc34ba745a06"
6
+ depends_on "zlib"
7
8
+ before :extract do
9
+ # ignore symlink errors from package
10
+ if platform.mingw?
11
+ options.ignore_extract_errors = true
12
+ end
13
14
15
+ action :configure do
16
+ cmd = ["perl"]
17
+ if platform.posix?
18
+ cmd << "config"
19
+ else
20
+ cmd << "Configure"
21
22
23
24
+ if platform.x64?
25
+ cmd << "mingw64"
26
27
+ cmd << "mingw"
28
29
30
31
+ cmd << "zlib-dynamic shared"
32
+ cmd << "--prefix=#{install_path}"
33
34
+ run cmd.join(" ")
35
36
+end
0 commit comments