this repo has no description
1opam-version: "2.0"
2maintainer: "Sylvain Le Gall <sylvain+ocaml@le-gall.net>"
3authors: [ "Sylvain Le Gall" ]
4license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
5homepage: "https://github.com/gildor478/ocaml-gettext"
6dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
7bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
8doc: "https://gildor478.github.io/ocaml-gettext/"
9build: [
10 ["ocaml" "configure.ml"
11 "--with-defaultlocaledir" "%{lib}%/gettext/share/locale"
12 "--version" version]
13 ["dune" "build" "-p" name "-j" jobs
14 "@install"
15 "@doc" {with-doc}
16 "@runtest" {with-test} ]
17]
18depends: [
19 "ocaml" {>= "4.03.0" & < "5.0"}
20 "dune" {>= "1.11.0"}
21 "cppo" {build & >= "1.1.0"}
22 "fileutils"
23 "ounit" {with-test & > "2.0.8" & < "2.2.6"}
24]
25synopsis: "Internationalization library (i18n)"
26description:"""
27This library enables string translation in OCaml. The API is based on GNU
28gettext. It comes with a tool to extract strings which need to be translated
29from OCaml source files.
30
31This enables OCaml program to output string in the native language of
32the user, if a corresponding translation file of the English strings is
33provided.
34"""
35url {
36 src:
37 "https://github.com/gildor478/ocaml-gettext/releases/download/v0.4.2/gettext-v0.4.2.tbz"
38 checksum: [
39 "sha256=8b672c7c521b8ac753c6a90925243cdd367dd5202e7c1e5d1a2507b11ad5d6a7"
40 "sha512=72bad53ce15ccc5113e4cfdc76b56c633926bb3702623964e006a99d21a758e7d47f0b9b67bebffe8b9a0c5f4d018cb7d4ae665568dfab52070ed355d5f9d31b"
41 ]
42}