-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
48 lines (48 loc) · 1.38 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
maintainer: "Sylvain Le Gall <sylvain+ocaml@le-gall.net>"
authors: [ "Sylvain Le Gall" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/gildor478/ocaml-gettext"
dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
build: [
[
"./configure"
"--disable-doc"
"--prefix"
prefix
"--sbindir=%{lib}%/gettext/sbin"
"--libexecdir=%{lib}%/gettext/libexec"
"--sysconfdir=%{lib}%/gettext/etc"
"--sharedstatedir=%{lib}%/gettext/com"
"--localstatedir=%{lib}%/gettext/var"
"--libdir=%{lib}%/gettext/lib"
"--includedir=%{lib}%/gettext/include"
"--datarootdir=%{lib}%/gettext/share"
]
[make]
]
remove: [
["rm" "-rf" "%{lib}%/gettext/share"]
["ocamlfind" "remove" "gettext-camomile"]
["ocamlfind" "remove" "gettext-stub"]
["ocamlfind" "remove" "gettext"]
]
depends: [
"ocaml" {< "4.02.0"}
"ocamlfind"
"ounit"
"fileutils"
"camomile" {< "2.0.0"}
"camlp4"
]
install: [make "install"]
synopsis:
"Provides enough service to build a basic internationalized program"
flags: light-uninstall
extra-files: ["gettext.install" "md5=e11873c06814eb2a66ebc66a984d3e4e"]
url {
src:
"https://download.ocamlcore.org/ocaml-gettext/ocaml-gettext/0.3.4/ocaml-gettext-0.3.4.tar.gz"
checksum: "md5=2c588ba92e9a809f2885ecacc48069a9"
}