-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathopam
36 lines (35 loc) · 1.08 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
opam-version: "1.2"
maintainer: "[email protected]"
author: "Si Beaumont"
homepage: "https://github.com/simonjbeaumont/ocaml-pci"
bug-reports: "https://github.com/simonjbeaumont/ocaml-pci/issues"
dev-repo: "https://github.com/simonjbeaumont/ocaml-pci.git"
build: [
["./configure"]
[make]
]
build-test: [
["./configure" "--enable-tests"]
[make "test"]
]
install: [make "install"]
remove: [
["ocamlfind" "remove" "pci"]
["ocamlfind" "remove" "pci_bindings"]
]
depends: [
"ctypes" {>= "0.4"}
"ocamlfind" {build}
"ounit2" {test}
]
available: [ocaml-version >= "4.01.0" & os = "linux"]
depexts: [
[["debian"] ["hwdata" "libpci-dev"]]
[["ubuntu"] ["hwdata" "libpci-dev"]]
[["centos"] ["hwdata" "pciutils-devel"]]
]
post-messages: [
"This package requires libpci-dev (>= 3.2.0) to be installed on your system" {failure & (os = "debian")}
"This package requires libpci-dev (>= 3.2.0) to be installed on your system" {failure & (os = "ubuntu")}
"This package requires pciutils-devel (>= 3.2.0) to be installed on your system" {failure & (os = "centos")}
]