Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.33 KB
opam-version: "2.0"
maintainer: "Sylvain Le Gall <sylvain+ocaml@le-gall.net>"
authors: [ "Sylvain Le Gall" ]
license: "LGPL-2.1 with OCaml 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" "ocamlfind" "ounit" "fileutils" "camomile" "camlp4" "base-bytes"
]
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://forge.ocamlcore.org/frs/download.php/1731/ocaml-gettext-0.3.8.tar.gz"
checksum: "md5=bf3c82cada6be0f97b0b228e39f7e877"
}