this repo has no description
1opam-version: "2.0"
2maintainer: "zandoye@gmail.com"
3authors: [ "ZAN DoYe" ]
4homepage: "https://github.com/kandu/ocaml-opencc1.1/"
5bug-reports: "https://github.com/kandu/ocaml-opencc1.1/issues"
6license: "MIT"
7tags: [
8 "opencc"
9 "Chinese conversion"
10]
11
12build: [
13 ["sh" "-exec" "cc $CFLAGS test.c -l:libopencc.so.1.1"] {os != "macos" & os != "freebsd"}
14 ["sh" "-exec" "cc $CFLAGS test.c -L/usr/local/lib -l:libopencc.so.1.1"] {os = "freebsd"}
15 ["sh" "-exec" "cc $CFLAGS test.c -L/usr/local/lib -lopencc.1.1"] {os = "macos" & arch = "x86_64"}
16 ["sh" "-exec" "cc $CFLAGS test.c -L/opt/homebrew/lib -lopencc.1.1"] {os = "macos" & arch = "arm64"}
17]
18
19depexts: [
20 ["libopencc1.1"] {os-family = "debian" | os-family = "ubuntu"}
21 ["opencc"] {os-family = "suse" | os-family = "opensuse"}
22 ["opencc"] {os-distribution = "arch"}
23 ["app-i18n/opencc"] {os-distribution = "gentoo"}
24 ["opencc"] {os-distribution = "fedora"}
25 ["opencc"] {os-distribution = "centos"}
26 ["opencc"] {os = "macos" & os-distribution = "homebrew"}
27 ["chinese/opencc"] {os = "freebsd"}
28]
29x-ci-accept-failures: [ # RDKit does not exist by default on these distributions
30 "alpine-3.18"
31 "alpine-3.19"
32 "alpine-3.20"
33 "oraclelinux-7"
34 "oraclelinux-8"
35 "oraclelinux-9"
36]
37
38synopsis: "Virtual package relying on opencc v1.1 (libopencc.so.1.1) installation"
39description: "This package can install only if the libopencc v1.1 is available on the system"
40
41flags: [conf]
42extra-source "test.c" {
43 src:
44 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-opencc1_1/test.c"
45 checksum: [
46 "sha256=57b9a643ad8840d8b26e9deccd86faba017ebd91037aa4e4124d6005e2e90cf8"
47 "md5=9690f46dfbcfc47a300c8cac95f3ded2"
48 ]
49}
50