description JSON validator and type converter for OCaml
long_description This library converts parsed JSON data with an unchecked structure \
into specialized OCaml types and vice-versa. It is a complement to \
the caml-json-wheel package which provides a parser and pretty-printer.
homepage http://martin.jambon.free.fr/json-static.html
master_sites http://martin.jambon.free.fr/
distname json-static-${version}
checksums rmd160 8f6a9e886ddd5beff91a263b967a3c6ab95d0806 \
sha256 fd7a8b741e0a19f145add564dd1ea0e1cdc03d2710e051a5cd26a25126563ddd
livecheck.url http://martin.jambon.free.fr/json-static.html
livecheck.regex {>json-static-(.*)\.tar\.gz}
set ocaml_site_path [exec ocamlfind printconf destdir]
reinplace "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
set ocaml_site_path [exec ocamlfind printconf destdir]
file mkdir ${destroot}/${ocaml_site_path}/stublibs
destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}/[exec ${prefix}/bin/ocamlfind printconf destdir]"