File tree Expand file tree Collapse file tree 3 files changed +56
-1
lines changed
conf-libevent/conf-libevent.1
conf-mingw-w64-libevent-i686/conf-mingw-w64-libevent-i686.1
conf-mingw-w64-libevent-x86_64/conf-mingw-w64-libevent-x86_64.1 Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,24 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
5
authors: "Libevent dev team"
6
6
license: "BSD-3-clause"
7
7
build: [
8
- ["pkg-config" "--exists" "libevent"]
8
+ "pkgconf" {os = "win32" & os-distribution != "cygwinports"}
9
+ "--personality=i686-w64-mingw32"
10
+ {os = "win32" & os-distribution != "cygwinports" &
11
+ host-arch-x86_32:installed}
12
+ "--personality=x86_64-w64-mingw32"
13
+ {os = "win32" & os-distribution != "cygwinports" &
14
+ host-arch-x86_64:installed}
15
+ "pkg-config" {os != "Win32" | os-distribution != "cygwin"}
16
+ "libevent"
9
17
]
10
18
depends: [
11
19
"conf-pkg-config" {build}
20
+ ("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} &
21
+ "conf-mingw-w64-libevent-i686"
22
+ {os = "win32" & os-distribution != "cygwinports"} |
23
+ "host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} &
24
+ "conf-mingw-w64-libevent-x86_64"
25
+ {os = "win32" & os-distribution != "cygwinports"})
12
26
]
13
27
depexts: [
14
28
["libevent-dev"] {os-family = "debian"}
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ homepage: "https://libevent.org"
3
+ authors: ["Libevent dev team"]
4
+ license: "BSD-3-clause"
5
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
6
+ flags: conf
7
+ available: os = "win32"
8
+ build: ["pkgconf" "--personality=i686-w64-mingw32" "libevent"]
9
+ depends: [
10
+ "conf-pkg-config" {build}
11
+ "conf-mingw-w64-gcc-i686" {build}
12
+ ]
13
+ synopsis: "Libevent for i686 mingw-w64"
14
+ description:
15
+ "Ensure the i686 version of libevent for the mingw-w64 project is available"
16
+ maintainer: "David Allsopp <
[email protected] >"
17
+ depexts: [
18
+ ["mingw64-i686-libevent"] {os = "win32" & os-distribution = "cygwin"}
19
+ ["mingw-w64-i686-libevent"] {os = "win32" & os-distribution = "msys2"}
20
+ ]
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ homepage: "https://libevent.org"
3
+ authors: ["Libevent dev team"]
4
+ license: "BSD-3-clause"
5
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
6
+ flags: conf
7
+ available: os = "win32"
8
+ build: ["pkgconf" "--personality=x86_64-w64-mingw32" "libevent"]
9
+ depends: [
10
+ "conf-pkg-config" {build}
11
+ "conf-mingw-w64-gcc-x86_64" {build}
12
+ ]
13
+ synopsis: "Libevent for x86_64 mingw-w64"
14
+ description:
15
+ "Ensure the x86_64 version of libevent for the mingw-w64 project is available"
16
+ maintainer: "David Allsopp <
[email protected] >"
17
+ depexts: [
18
+ ["mingw64-x86_64-libevent"] {os = "win32" & os-distribution = "cygwin"}
19
+ ["mingw-w64-x86_64-libevent"] {os = "win32" & os-distribution = "msys2"}
20
+ ]
21
+
You can’t perform that action at this time.
0 commit comments