opam-version: "2.0"
maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://labltk.forge.ocamlcore.org/"
bug-reports: "https://github.com/garrigue/labltk/issues"
dev-repo: "git+https://github.com/garrigue/labltk.git"
license: "LGPL-2.1-or-later with OCaml-LGPL-linking-exception"
build: [
  ["./configure" "-use-findlib" "-verbose" "-installbindir" bin]
  [make "library" "opt"]
]
install: [
  [make "install"]
]
depends: [
  "ocaml" {>= "4.07" & < "4.13"}
  "ocamlfind" {build}
  "conf-tcl"
  "conf-tk"
]
post-messages: [
  "This package requires Tcl/Tk with its development packages installed on your system" {failure}
]
synopsis: "OCaml interface to Tcl/Tk"
description: "ocamlbrowser is now a separate package.\n\
             For details, see https://garrigue.github.io/labltk/"
patches: ["configure.patch" "hasgot.patch"]
extra-files: [
  ["configure.patch" "md5=9cdd0d2152f177899c37da0a56007079"]
  ["hasgot.patch" "md5=1e4bf6b5aa4740e7fbffff97d18bfc30"]
]
url {
  src: "https://github.com/garrigue/labltk/archive/8.06.8.tar.gz"
  checksum: "md5=ec4e7ed25f0938a9b6f9207d15e1f982"
}
