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"
8build: [
9 [
10 "./configure"
11 "--disable-doc"
12 "--prefix"
13 prefix
14 "--sbindir=%{lib}%/gettext/sbin"
15 "--libexecdir=%{lib}%/gettext/libexec"
16 "--sysconfdir=%{lib}%/gettext/etc"
17 "--sharedstatedir=%{lib}%/gettext/com"
18 "--localstatedir=%{lib}%/gettext/var"
19 "--libdir=%{lib}%/gettext/lib"
20 "--includedir=%{lib}%/gettext/include"
21 "--datarootdir=%{lib}%/gettext/share"
22 ]
23 [make]
24]
25remove: [
26 ["rm" "-rf" "%{lib}%/gettext/share"]
27 ["ocamlfind" "remove" "gettext-camomile"]
28 ["ocamlfind" "remove" "gettext-stub"]
29 ["ocamlfind" "remove" "gettext"]
30]
31depends: [
32 "ocaml"
33 "ocamlfind"
34 "ounit"
35 "fileutils"
36 "camomile" {< "2.0.0"}
37 "camlp4"
38 "base-bytes"
39]
40install: [make "install"]
41synopsis:
42 "Provides enough service to build a basic internationalized program"
43flags: light-uninstall
44url {
45 src:
46 "https://download.ocamlcore.org/ocaml-gettext/ocaml-gettext/0.3.8/ocaml-gettext-0.3.8.tar.gz"
47 checksum: [
48 "sha256=1b83e3209915b12e5783d14be4fc433f16e83e2f8b0ba86cc4c2deff79bf9617"
49 "md5=bf3c82cada6be0f97b0b228e39f7e877"
50 ]
51}
52extra-source "gettext.install" {
53 src:
54 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/gettext/gettext.install"
55 checksum: [
56 "sha256=bcd41b9f126fd289454b4609d7a8fe93db8600ac5340bb179eb4dd915e7b7e2f"
57 "md5=e11873c06814eb2a66ebc66a984d3e4e"
58 ]
59}