opam-version: "1.2"
version: "4.07+trunk"
authors: ["Daniel de Rauglaudre" "Nicolas Pouillard"]
maintainer: "jeremie@dimino.org"
homepage: "https://github.com/ocaml/camlp4"
license: "LGPLv2"
build: [
["./configure" "--bindir=%{bin}%" "--libdir=%{lib}%/ocaml" "--pkgdir=%{lib}%" "--pinned"]
[make "clean"]
[make "all"] {ocaml-native-dynlink}
[make "byte"] {!ocaml-native-dynlink}
]
install: [make "install" "install-META"]
depends: ["ocamlbuild" {build}]
remove: [
["ocamlfind" "remove" "camlp4"]
["rm" "-rf" "%{lib}%/ocaml/camlp4"]
["rm" "-f" "%{bin}%/camlp4" "%{bin}%/camlp4boot" "%{bin}%/mkcamlp4"
"%{bin}%/camlp4r" "%{bin}%/camlp4rf" "%{bin}%/camlp4orf"
"%{bin}%/camlp4o" "%{bin}%/camlp4of" "%{bin}%/camlp4oof"
"%{bin}%/camlp4prof" "%{bin}%/camlp4rf.opt" "%{bin}%/camlp4orf.opt"
"%{bin}%/camlp4o.opt" "%{bin}%/camlp4oof.opt" "%{bin}%/camlp4r.opt"
]
]
bug-reports: "https://github.com/ocaml/camlp4/issues"
dev-repo: "https://github.com/ocaml/camlp4.git"