Skip to content

Commit 0b9c02c

Browse files
committedSep 6, 2024
Update opam file after conversion to dune.
1 parent fc6a6be commit 0b9c02c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed
 

‎mariadb.opam

+10-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,20 @@ synopsis: "OCaml bindings for MariaDB"
1010
description: "OCaml-MariaDB provides Ctypes-based bindings for MariaDB, including its nonblocking API."
1111

1212
build: [
13-
["./configure" "--prefix=%{prefix}%"]
14-
[make]
13+
["dune" "subst"] {dev}
14+
["dune" "build" "-p" name "-j" jobs
15+
"@install"
16+
"@runtest" {with-test}
17+
"@doc" {with-doc}
18+
]
1519
]
16-
install: [make "install"]
1720
depends: [
1821
"ocaml" {>= "4.07.0"}
19-
"ocamlfind" {build}
20-
"ocamlbuild" {build}
2122
"ctypes" {>= "0.7.0"}
2223
"conf-mariadb"
2324
"conf-gcc"
25+
"dune"
26+
"dune-configurator"
27+
"async" {with-test}
28+
"lwt" {with-test}
2429
]

0 commit comments

Comments
 (0)
Please sign in to comment.