Skip to content

Commit 166cda6

Browse files
authored
Merge pull request ocaml#27290 from toots/patch-12
Fix conf-mad check for freebsd
2 parents d91537d + 89b1a42 commit 166cda6

File tree

1 file changed

+25
-0
lines changed
  • packages/conf-mad/conf-mad.2

1 file changed

+25
-0
lines changed

packages/conf-mad/conf-mad.2/opam

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://www.underbit.com/products/mad/"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "mad dev team"
6+
license: "GPL-2.0-only"
7+
build: [
8+
["pkg-config" "--exists" "mad"]
9+
]
10+
depends: [
11+
"conf-pkg-config" {build}
12+
]
13+
depexts: [
14+
["libmad-dev"] {os-distribution = "alpine"}
15+
["libmad"] {os-distribution = "arch" | os-distribution = "nixos"}
16+
["libmad-devel"] {os-distribution = "centos" | os-distribution = "fedora" | os-family = "suse" | os-family = "opensuse"}
17+
["libmad0-dev"] {os-family = "debian" | os-family = "ubuntu"}
18+
["libmad"] {os = "win32" & os-distribution = "cygwinports"}
19+
["mad"] {os = "macos" & os-distribution = "homebrew"}
20+
["libmad"] {os = "freebsd"}
21+
]
22+
synopsis: "Virtual package relying on mad"
23+
description:
24+
"This package can only install if the mad library is installed on the system."
25+
flags: conf

0 commit comments

Comments
 (0)