opam-version: "2.0" maintainer: "https://github.com/ocaml/opam-repository/issues" homepage: "http://software.schmorp.de/pkg/libev.html" authors: "Marc Lehmann" license: "BSD-2-Clause" build: [["sh" "./build.sh"]] depends: [ "ocaml" {>= "3.11.0"} ] depexts: [ ["libev-dev"] {os-family = "debian"} ["libev-dev"] {os-family = "ubuntu"} ["libev"] {os = "macos" & os-distribution = "homebrew"} ["libev-dev"] {os-family = "alpine"} ["libev"] {os-family = "arch"} ["libev-devel"] {os-distribution = "fedora"} ["libev-devel"] {os-distribution = "rhel"} ["libev-devel"] {os-distribution = "centos"} ["libev-devel"] {os-distribution = "ol" & os-version >= "8"} ["libev-devel"] {os-family = "suse" | os-family = "opensuse"} ["libev"] {os = "freebsd"} ["libev"] {os = "openbsd"} ["libev"] {os-distribution = "nixos"} ] synopsis: "High-performance event loop/event model with lots of features" description: """ Libev is modelled (very loosely) after libevent and the Event perl module, but is faster, scales better and is more correct, and also more featureful. And also smaller. Yay.""" bug-reports: "https://github.com/ocaml/opam-repository/issues" available: os != "win32" flags: conf extra-source "discover.ml" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libev/discover.ml.4-12" checksum: [ "sha256=1db79a9fa1c8642c9466d129a0077199b1e2ed4663e3659545ba8a9e287f8742" "md5=a734be402679b0ccf7c8aa60fc18bf9a" ] } extra-source "build.sh" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libev/build.sh" checksum: [ "sha256=4825462f8f84312caf9a2c797bbd24abc776d8a343de5561330314d846e5cf61" "md5=f37b5eb73ebeb177dff1cd8bb2f38c4e" ] }