-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
41 lines (41 loc) · 1.77 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
37
38
39
40
41
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://computing.llnl.gov/projects/sundials"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Sundials dev team"
license: "BSD-3-Clause"
build: ["cc" "-E" "test.c"]
depexts: [
["libsundials-dev"] {(os-family = "debian" | os-family = "ubuntu") & os-distribution != "debian" & os-distribution != "ubuntu"}
["libsundials-dev"] {os-distribution = "debian" & os-version >= "10"}
["libsundials-dev"] {os-distribution = "ubuntu" & os-version >= "18.04"}
["libsundials-serial-dev"] {os-distribution = "debian" & os-version < "10"}
["libsundials-serial-dev"] {os-distribution = "ubuntu" & os-version < "18.04"}
["sundials-devel"] {os-distribution = "fedora"}
["epel-release" "sundials-devel"] {os-distribution = "centos"}
["sundials-devel"] {os-distribution = "rhel"}
["sundials-devel"] {os-distribution = "ol"}
["sundials-devel"] {os-family = "suse" | os-family = "opensuse"}
["sundials"] {os-family = "arch"}
["sci-libs/sundials"] {os-family = "gentoo"}
["sundials"] {os = "macos" & os-distribution = "homebrew"}
["sundials"] {os = "macos" & os-distribution = "macports"}
["sundials"] {os = "freebsd"}
["sundials"] {os = "openbsd"}
["sundials"] {os = "netbsd"}
]
x-ci-accept-failures: [
"alpine-3.12" # package not available by default
]
synopsis: "Virtual package relying on sundials"
description:
"This package can only install if the sundials library is installed on the system."
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-sundials/test.c"
checksum: [
"sha256=70e1c81af7bc2a76c212e49907cd1a1cd2bd3e86537649e079f4783fec50e91e"
"md5=00a7c58d130f4aabfec5fe37aff9907e"
]
}