opam-version: "2.0"
homepage: "https://github.com/LaurentMazare/ocaml-wasmtime"
maintainer: "lmazare@gmail.com"
bug-reports: "https://github.com/LaurentMazare/ocaml-wasmtime/issues"
authors: [
  "Laurent Mazare"
]
install: [
  [
    "sh"
    "-c"
    "test -d %{lib}%/libwasmtime/lib/libwasmtime.a || ( mkdir -p %{lib}%/libwasmtime && tar xf wasmtime-linux.tar.xz && mv -f wasmtime-*linux*/* %{lib}%/libwasmtime )"
  ]
]
synopsis: "The libwasmtime library package"
description: """
This is used by the wasmtime package to trigger the install of the
libwasmtime library."""
extra-source "wasmtime-linux.tar.xz" {
  src: "https://github.com/bytecodealliance/wasmtime/releases/download/v0.22.0/wasmtime-v0.22.0-x86_64-linux-c-api.tar.xz"
  checksum: "md5=7e099b7d35067769f7fd84178f9d1b7f"
}
available: arch = "x86_64" & os = "linux"
