description OCaml binding to the GDBM Unix databases
long_description ${description}
homepage https://forge.ocamlcore.org/projects/camldbm
master_sites https://forge.ocamlcore.org/frs/download.php/728/
distname camldbm-${version}
checksums rmd160 0691f84ac43c97fddaf796c04729baa8bcb280ca \
sha256 19741fa7827c306ae43b18170b01f5547326ec7ea6c2f4bd80c93439b5ff538f
depends_lib port:ocaml port:gdbm
patchfiles patch-Makefile.diff
xinstall -m 644 ${filespath}/Makefile.config ${worksrcpath}/Makefile.config
reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Makefile.config
xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/dbm/
livecheck.url https://forge.ocamlcore.org/frs/?group_id=278
livecheck.regex "camldbm-(.*?)${extract.suffix}"