diff --git a/mariadb.opam b/mariadb.opam index e025faf..373c5d4 100644 --- a/mariadb.opam +++ b/mariadb.opam @@ -10,15 +10,20 @@ synopsis: "OCaml bindings for MariaDB" description: "OCaml-MariaDB provides Ctypes-based bindings for MariaDB, including its nonblocking API." build: [ - ["./configure" "--prefix=%{prefix}%"] - [make] + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] ] -install: [make "install"] depends: [ "ocaml" {>= "4.07.0"} - "ocamlfind" {build} - "ocamlbuild" {build} "ctypes" {>= "0.7.0"} "conf-mariadb" "conf-gcc" + "dune" + "dune-configurator" + "async" {with-test} + "lwt" {with-test} ]