this repo has no description
1opam-version: "2.0"
2maintainer: "simonjbeaumont@gmail.com"
3authors: "Si Beaumont"
4homepage: "https://github.com/simonjbeaumont/ocaml-pci"
5bug-reports: "https://github.com/simonjbeaumont/ocaml-pci/issues"
6dev-repo: "git+https://github.com/simonjbeaumont/ocaml-pci.git"
7build: [
8 ["./configure"]
9 [make]
10# ["./configure" "--enable-tests"] {with-test}
11# [make "test"] {with-test} # Tests are machine configuration dependent
12]
13install: [make "install"]
14remove: [
15 ["ocamlfind" "remove" "pci"]
16 ["ocamlfind" "remove" "pci_bindings"]
17]
18depends: [
19 "ocaml" {>= "4.01.0" & < "5.0.0"}
20 "ctypes" {>= "0.4" & < "0.21.0"}
21 "ocamlfind" {build}
22# "ounit" {with-test}
23 "ocamlbuild" {build}
24]
25available: os = "linux"
26depexts: [
27 ["hwdata" "libpci-dev"] {os-family = "debian"}
28 ["hwdata" "pciutils-devel"] {os-distribution = "centos"}
29 ["hwdata" "pciutils-dev"] {os-distribution = "alpine"}
30 ["hwdata" "pciutil-devel"] {os-distribution = "fedora"}
31]
32post-messages: [
33 "This package requires libpci-dev (>= 3.2.0) to be installed on your system" {failure & (os = "debian")}
34 "This package requires libpci-dev (>= 3.2.0) to be installed on your system" {failure & (os = "ubuntu")}
35 "This package requires pciutils-devel (>= 3.2.0) to be installed on your system" {failure & (os = "centos")}
36]
37synopsis: "Ctypes bindings to libpci for OCaml"
38flags: light-uninstall
39url {
40 src: "https://github.com/simonjbeaumont/ocaml-pci/archive/v1.0.1.tar.gz"
41 checksum: [
42 "sha256=017aca48786abf8c0b4ada693ab295e600a895d5f164b14f3ccc7a3a812dafbe"
43 "md5=0b1dff30d63b9104c4f9b2a175023e27"
44 ]
45}