opam-version: "1.2"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
homepage: "http://projects.camlcity.org/projects/findlib.html"
bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues"
dev-repo: "https://gitlab.camlcity.org/gerd/lib-findlib.git"
build: [
  [
    "./configure"
    "-bindir"
    bin
    "-sitelib"
    lib
    "-mandir"
    man
    "-config"
    "%{lib}%/findlib.conf"
    "-no-custom"
    "-no-topfind" {preinstalled}
  ]
  [make "all"]
  [make "opt"] {ocaml-native}
]
install: [
  [make "install"]
  ["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {preinstalled}
]
remove: [
  ["ocamlfind" "remove" "bytes"]
  [
    "./configure"
    "-bindir"
    bin
    "-sitelib"
    lib
    "-mandir"
    man
    "-config"
    "%{lib}%/findlib.conf"
    "-no-topfind" {preinstalled}
  ]
  [make "uninstall"]
  ["rm" "-f" "%{bin}%/ocaml"] {preinstalled}
]
depends: [
  "conf-m4" {build}
]
available: [ocaml-version >= "4.00.0"]
