File tree Expand file tree Collapse file tree 6 files changed +48
-1
lines changed
conf-mingw-w64-openssl-i686/conf-mingw-w64-openssl-i686.1
conf-mingw-w64-openssl-x86_64/conf-mingw-w64-openssl-x86_64.1 Expand file tree Collapse file tree 6 files changed +48
-1
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,4 @@ description:
31
31
"This package can only install if the OpenSSL library is installed on the system."
32
32
extra-files: ["osx-build.sh" "md5=faf81a6bf30e346abe94610f136c6193"]
33
33
flags: conf
34
+ available: os != "win32" | os-distribution = "cygwinports"
Original file line number Diff line number Diff line change @@ -38,3 +38,4 @@ synopsis: "Virtual package relying on an OpenSSL library system installation"
38
38
description:
39
39
"This package can only install if the OpenSSL library is installed on the system."
40
40
flags: conf
41
+ available: os != "win32" | os-distribution = "cygwinports"
Original file line number Diff line number Diff line change @@ -38,3 +38,4 @@ description:
38
38
"This package can only install if the OpenSSL library is installed on the system."
39
39
flags: conf
40
40
extra-files: ["homebrew.sh" "md5=a524c7b9cb12a5be63c7d5933ccd1c43"]
41
+ available: os != "win32" | os-distribution = "cygwinports"
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ build-env: [
8
8
[HOMEBREW_NO_AUTO_UPDATE = "1"]
9
9
]
10
10
build: [
11
- ["pkg-config" "--print-errors" "--exists" "openssl"]
11
+ ["pkgconf" {os = "win32" & os-distribution = "cygwin"}
12
+ "--personality=i686-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_32:installed}
13
+ "--personality=x86_64-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_64:installed}
14
+ "pkg-config" {os != "win32" | os-distribution != "cygwin"}
15
+ "--print-errors" "--exists" "openssl"]
12
16
{os != "freebsd" & os != "openbsd" & os != "netbsd" & # libssl is provided by base system on BSDs
13
17
os-distribution != "homebrew"}
14
18
["sh" "-ex" "./homebrew.sh" "check"] {os-distribution = "homebrew"}
@@ -18,6 +22,8 @@ install: [
18
22
]
19
23
depends: [
20
24
"conf-pkg-config" {build}
25
+ ("host-arch-x86_32" {os = "win32" & os-distribution = "cygwin"} & "conf-mingw-w64-openssl-i686" {os = "win32" & os-distribution = "cygwin"} |
26
+ "host-arch-x86_64" {os = "win32" & os-distribution = "cygwin"} & "conf-mingw-w64-openssl-x86_64" {os = "win32" & os-distribution = "cygwin"})
21
27
]
22
28
depexts: [
23
29
["libssl-dev"] {os-family = "debian"}
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ synopsis: "libssl for i686 mingw-w64 (32-bit x86)"
3
+ description: "Ensures the i686 version of libssl for the mingw-w64 project is available"
4
+ maintainer: "David Allsopp <david@tarides.com>"
5
+ authors: "The OpenSSL Project"
6
+ license: "Apache-1.0"
7
+ homepage: "https://www.openssl.org"
8
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
9
+ flags: conf
10
+ available: os = "win32" & os-distribution = "cygwin"
11
+ build: ["pkgconf" "--personality=i686-w64-mingw32" "openssl"]
12
+ depends: [
13
+ "conf-pkg-config" {build}
14
+ "conf-mingw-w64-gcc-i686" {build}
15
+ ]
16
+ depexts: [
17
+ ["mingw64-i686-openssl"] {os = "win32" & os-distribution = "cygwin"}
18
+ ["mingw-w64-i686-openssl"] {os = "win32" & os-distribution = "msys2"}
19
+ ]
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ synopsis: "libssl for x86_64 mingw-w64 (64-bit x86_64)"
3
+ description: "Ensures the x86_64 version of libssl for the mingw-w64 project is available"
4
+ maintainer: "David Allsopp <david@tarides.com>"
5
+ authors: "The OpenSSL Project"
6
+ license: "Apache-1.0"
7
+ homepage: "https://www.openssl.org"
8
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
9
+ flags: conf
10
+ available: os = "win32" & os-distribution = "cygwin"
11
+ build: ["pkgconf" "--personality=x86_64-w64-mingw32" "openssl"]
12
+ depends: [
13
+ "conf-pkg-config" {build}
14
+ "conf-mingw-w64-gcc-x86_64" {build}
15
+ ]
16
+ depexts: [
17
+ ["mingw64-x86_64-openssl"] {os = "win32" & os-distribution = "cygwin"}
18
+ ["mingw-w64-x86_64-openssl"] {os = "win32" & os-distribution = "msys2"}
19
+ ]
You can’t perform that action at this time.
0 commit comments