Skip to content

Commit 73002e3

Browse files
authored
Merge pull request #28596 from shym/conf-binaryen
Add a `conf-binaryen` package
2 parents 338fd73 + c5bef9e commit 73002e3

File tree

1 file changed

+34
-0
lines changed
  • packages/conf-binaryen/conf-binaryen.1

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
opam-version: "2.0"
2+
synopsis: "Virtual package relying on the binaryen tools"
3+
description:
4+
"This package can only install if the binaryen tools are installed on the system."
5+
maintainer: "[email protected]"
6+
authors: ["The binaryen developers"]
7+
license: "Apache-2.0"
8+
homepage: "https://github.com/ocaml/opam-repository"
9+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
10+
flags: conf
11+
build: ["wasm-opt" "--version"]
12+
depexts: [
13+
["binaryen"] {os-family = "debian"}
14+
["binaryen"] {os-family = "ubuntu"}
15+
["binaryen"] {os-family = "fedora"}
16+
["binaryen"] {os-family = "arch"}
17+
["binaryen"] {os-family = "alpine"}
18+
["binaryen"] {os-family = "rehl"}
19+
["binaryen"] {os-distribution = "opensuse-tumbleweed" | os-distribution = "opensuse-leap"}
20+
["binaryen"] {os-family = "homebrew"}
21+
["binaryen"] {os-family = "macports"}
22+
["binaryen"] {os-distribution = "freebsd"}
23+
["binaryen"] {os-distribution = "openbsd"}
24+
["binaryen"] {os-family = "openmandriva"}
25+
["binaryen"] {os-distribution = "nixos"}
26+
]
27+
# Note: msys2 contains some versions of binaryen but they all seem
28+
# to come with prefixes
29+
post-messages:
30+
"""\
31+
Please install binaryen manually, as there is no known package
32+
for it for your distribution."""
33+
{failure}
34+
x-maintenance-intent: ["(latest)"]

0 commit comments

Comments
 (0)