/
opam
26 lines (26 loc) · 1018 Bytes
/
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
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://www.underbit.com/products/mad/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "mad dev team"
license: "GPL-2.0-only"
build: [
["pkg-config" "--exists" "mad"] {os != "freebsd"}
["pkg-config" "--exists" "libmad"] {os = "freebsd"}
]
depends: [
"conf-pkg-config" {build}
]
depexts: [
["libmad-dev"] {os-distribution = "alpine"}
["libmad"] {os-distribution = "archlinux" | os-distribution = "nixos"}
["libmad-devel"] {os-distribution = "centos" | os-distribution = "fedora" | os-family = "suse" | os-family = "opensuse"}
["libmad0-dev"] {os-family = "debian" | os-family = "ubuntu"}
["libmad"] {os = "win32" & os-distribution = "cygwinports"}
["mad"] {os = "macos" & os-distribution = "homebrew"}
["libmad"] {os = "freebsd"}
]
synopsis: "Virtual package relying on mad"
description:
"This package can only install if the mad library is installed on the system."
flags: conf