/
opam
32 lines (26 loc) · 934 Bytes
/
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
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"
]
build: [
["sh" "-exec" "cc $CFLAGS test.c -l:libopencc.so.1"]
]
depexts: [
["libopencc1"] {os-family = "debian"}
["libopencc1"] {os-family = "suse" | os-family = "opensuse"}
]
post-messages: [
"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}
]
synopsis: "Virtual package relying on opencc v0 (libopencc.so.1) installation"
description: "This package can install only if the libopencc v0 is available on the system"
extra-files: [
"test.c" "md5=9690f46dfbcfc47a300c8cac95f3ded2"
]
flags: [conf]