opam-version: "2.0"
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: [
  ["cp" "haxe" "haxelib" "%{bin}%"]
  ["mkdir" "-p" "%{share}%/haxe"]
  ["cp" "-r" "std" "%{share}%/haxe/std"]
]
depends: [
  "ocaml" {>= "4.02"}
  "ocamlfind" {build}
  "camlp5" {build}
  "sedlex" {build & >= "2.0"}
  "xml-light" {build}
  "extlib" {build & >= "1.7.6" & < "1.7.8"}
  "ptmap" {build & >= "2.0.0"}
  "sha" {build}
  "conf-libpcre"
  "conf-zlib"
  "conf-neko"
]
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."""
url {
  src:
    "https://github.com/HaxeFoundation/haxe-debian/archive/upstream/4.0.1.tar.gz"
  checksum: "md5=03fdc5884b39dce97ef2b8857e8e4bcd"
}
