this repo has no description
1opam-version: "2.0"
2authors: "Jeremie Dimino <jeremie@dimino.org>"
3maintainer: "letoh"
4license: "BSD-3-Clause"
5homepage: "https://github.com/letoh/ocaml-usb"
6bug-reports: "https://github.com/letoh/ocaml-usb/issues"
7dev-repo: "git+https://github.com/letoh/ocaml-usb.git"
8
9depends: [
10 "ocaml" {>= "4.02.0"}
11 ("lwt" {>= "2.4.7" & < "4.0.0"} | "lwt_ppx")
12 "ocamlfind" {build}
13 "oasis" {build & >= "0.3.0"}
14 "ocamlbuild" {build}
15 "conf-pkg-config" {build}
16]
17
18depexts: [
19 ["libusb-1.0-0-dev"] {os-family = "debian"}
20 ["libusb"] {os-family = "arch"}
21 ["libusb-dev"] {os-family = "alpine"}
22 ["libusb1-devel"] {os-family = "rhel"}
23 ["libusb1-devel"] {os-family = "fedora"}
24 ["libusb-1_0-devel"] {os-family = "suse" | os-family = "opensuse"}
25 ["libusb1.0-devel"] {os-family = "mageia"}
26]
27
28patches: [
29 "patches/use-lwt_ppx.patch" {lwt:version >= "4.0.0"}
30]
31
32build: [
33 ["./configure"]
34 ["./configure" "--enable-tests"] {with-test}
35 [make]
36 [make "doc"] {with-doc}
37 [make "test"] {with-test}
38]
39
40install: [make "install"]
41
42synopsis: "OCaml bindings for libusb-1.0"
43
44url {
45 src: "https://github.com/letoh/ocaml-usb/archive/v1.3.1.tar.gz"
46 checksum: [
47 "sha256=1543e18e33cc7efa652370d5163e914858d5d8e5be496d2e6fbdbfe40e8cdff2"
48 "md5=395b8f1593e8cbb3e5c8472158b5331c"
49 ]
50}