opam-version: "2.0"
name: "haxe"
version: "4.0.0"
synopsis: "Multi-target universal programming language"
description: """
Haxe is an open source toolkit based on a modern,
high level, static-typed programming language, a cross-compiler,
a complete cross-platform standard library and ways to access each
platform's native capabilities."""
maintainer: ["Haxe Foundation <contact@haxe.org>" "Andy Li <andy@onthewings.net>"]
authors: "Haxe Foundation <contact@haxe.org>"
homepage: "https://haxe.org/"
bug-reports: "https://github.com/HaxeFoundation/haxe/issues"
license: ["GPL2+" "MIT"]
dev-repo: "git+https://github.com/HaxeFoundation/haxe.git"
build: [
  [make]
]
install: [make "install" "INSTALL_DIR=%{prefix}%"]
remove: [make "uninstall" "INSTALL_DIR=%{prefix}%"]
depends: [
  "ocaml"               {>= "4.02"}
  "ocamlfind"           {build}
  "camlp5"              {build}
  "sedlex"              {build}
  "ppx_tools_versioned" {build & != "5.2.1"} #https://github.com/alainfrisch/sedlex/issues/64
  "xml-light"           {build}
  "extlib"              {build & >= "1.7.6"}
  "ptmap"               {build}
  "sha"                 {build}
  "conf-libpcre"
  "conf-zlib"
  "conf-neko"
]