-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.42 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
opam-version: "2.0"
maintainer: "zandoye@gmail.com"
authors: [ "ZAN DoYe" ]
homepage: "https://github.com/kandu/ocaml-opencc0/"
bug-reports: "https://github.com/kandu/ocaml-opencc0/issues"
license: "MIT"
tags: [
"opencc"
"Chinese conversion"
]
dev-repo: "git+https://github.com/kandu/ocaml-opencc0"
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://github.com/kandu/ocaml-opencc0/archive/refs/tags/0.4.3-0.1.1.tar.gz"
checksum: [
"sha256=6df352256d728ee159a971aac242d8e54b75488fb3f349e18c8a1307ba221a19"
"md5=90bc980b4cb4834f3ff78ec30443c8c1"
]
}