opam-version: "2.0"
maintainer: "zandoye@gmail.com"
authors: [ "ZAN DoYe" ]
homepage: "https://bitbucket.org/zandoye/ocaml-opencc/"
bug-reports: "https://bitbucket.org/zandoye/ocaml-opencc/issues"
license: "MIT"
tags: [
  "opencc"
  "Chinese conversion"
]
dev-repo: "hg+https://bitbucket.org/zandoye/ocaml-opencc"
build: [
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "opencc"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "ctypes"
  "ctypes-foreign"
]
depexts: [
  ["libopencc-dev"] {os-family = "debian"}
  ["opencc"] {os-distribution = "arch"}
]
post-messages: [
  "This package requires installation of libopencc-dev (>= 0.4.3)" {failure & os = "debian"}
  "This package requires installation of libopencc-dev (>= 0.4.3)" {failure & os = "ubuntu"}
  "This package requires installation of opencc" {failure & os = "arch"}
]
synopsis: "bindings for OpenCC - Open Chinese Convert"
description:
  "Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversion between Traditional Chinese and Simplified Chinese, supporting character-level conversion, phrase-level conversion, variant conversion and regional idioms among Mainland China, Taiwan and Hong kong."
flags: light-uninstall
url {
  src: "https://bitbucket.org/zandoye/ocaml-opencc/get/0.4.3-0.1.1.tar.gz"
  checksum: "md5=7ed3a2d7aeddcd1c81e306524ad981cf"
}
