this repo has no description
1opam-version: "2.0"
2maintainer: "zandoye@gmail.com"
3authors: [ "ZAN DoYe" ]
4homepage: "https://github.com/kandu/ocaml-opencc0/"
5bug-reports: "https://github.com/kandu/ocaml-opencc0/issues"
6license: "MIT"
7tags: [
8 "opencc"
9 "Chinese conversion"
10]
11
12build: [
13 ["sh" "-exec" "cc $CFLAGS test.c -l:libopencc.so.1"]
14]
15
16depexts: [
17 ["libopencc1"] {os-family = "debian"}
18 ["libopencc1"] {os-family = "suse" | os-family = "opensuse"}
19]
20post-messages: [
21 "If the libopencc0 library is not installed by the system package manager, make sure that the path of the directory containing libopencc.so.1 is included in env-var LD_LIBRARY_PATH(for ld) and LIBRARY_PATH(for cc)" {failure}
22]
23
24synopsis: "Virtual package relying on opencc v0 (libopencc.so.1) installation"
25description: "This package can install only if the libopencc v0 is available on the system"
26
27flags: [conf]
28extra-source "test.c" {
29 src:
30 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-opencc0/test.c"
31 checksum: [
32 "sha256=57b9a643ad8840d8b26e9deccd86faba017ebd91037aa4e4124d6005e2e90cf8"
33 "md5=9690f46dfbcfc47a300c8cac95f3ded2"
34 ]
35}
36