|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: "https://github.com/ocaml/opam-repository/issues" |
| 3 | +homepage: "http://software.schmorp.de/pkg/libev.html" |
| 4 | +authors: "Marc Lehmann" |
| 5 | +license: "BSD-2-Clause" |
| 6 | +build: [["sh" "./build.sh"]] |
| 7 | +depends: [ |
| 8 | + "ocaml" {>= "3.11.0"} |
| 9 | +] |
| 10 | +depexts: [ |
| 11 | + ["libev-dev"] {os-family = "debian"} |
| 12 | + ["libev-dev"] {os-family = "ubuntu"} |
| 13 | + ["libev"] {os = "macos" & os-distribution = "homebrew"} |
| 14 | + ["libev-dev"] {os-family = "alpine"} |
| 15 | + ["libev"] {os-family = "arch"} |
| 16 | + ["libev-devel"] {os-family = "fedora"} |
| 17 | + ["libev-devel"] {os-distribution = "rhel"} |
| 18 | + ["libev-devel"] {os-distribution = "centos"} |
| 19 | + ["libev-devel"] {os-distribution = "ol" & os-version >= "8"} |
| 20 | + ["libev-devel"] {os-family = "suse" | os-family = "opensuse"} |
| 21 | + ["libev"] {os = "freebsd"} |
| 22 | + ["libev"] {os = "openbsd"} |
| 23 | + ["libev"] {os = "netbsd"} |
| 24 | + ["libev"] {os-distribution = "nixos"} |
| 25 | +] |
| 26 | +synopsis: "High-performance event loop/event model with lots of features" |
| 27 | +description: """ |
| 28 | +Libev is modelled (very loosely) after libevent and the Event perl |
| 29 | +module, but is faster, scales better and is more correct, and also more |
| 30 | +featureful. And also smaller. Yay.""" |
| 31 | +bug-reports: "https://github.com/ocaml/opam-repository/issues" |
| 32 | +available: os != "win32" |
| 33 | +flags: conf |
| 34 | +extra-source "discover.ml" { |
| 35 | + src: |
| 36 | + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libev/discover.ml.4-13" |
| 37 | + checksum: [ |
| 38 | + "sha256=569e94c09c4722989c3acb0f6b709a5dd6218f79175268c7f40f4bd26abd4fc2" |
| 39 | + "md5=0c92517ce8da8366129ee2fff4035951" |
| 40 | + ] |
| 41 | +} |
| 42 | +extra-source "build.sh" { |
| 43 | + src: |
| 44 | + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libev/build.sh" |
| 45 | + checksum: [ |
| 46 | + "sha256=4825462f8f84312caf9a2c797bbd24abc776d8a343de5561330314d846e5cf61" |
| 47 | + "md5=f37b5eb73ebeb177dff1cd8bb2f38c4e" |
| 48 | + ] |
| 49 | +} |
0 commit comments