diff --git a/bin/dune b/bin/dune index 351ff70..973ed5d 100644 --- a/bin/dune +++ b/bin/dune @@ -1,4 +1,4 @@ (executable - (public_name solo5_elftool) + (public_name solo5-elftool) (name main) (libraries solo5_elftool owee cstruct cmdliner)) diff --git a/lib/dune b/lib/dune index 2244804..6ebaca6 100644 --- a/lib/dune +++ b/lib/dune @@ -1,4 +1,4 @@ (library + (public_name solo5_elftool) (name solo5_elftool) - (libraries owee cstruct - fmt)) + (libraries owee cstruct fmt)) diff --git a/solo5_elftool.opam b/solo5_elftool.opam index e69de29..3566c3b 100644 --- a/solo5_elftool.opam +++ b/solo5_elftool.opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +homepage: "https://git.robur.io/robur/ocaml-solo5-elftool" +dev-repo: "git+https://git.robur.io/robur/ocaml-solo5-elftool.git" +bug-reports: "https://github.com/roburio/ocaml-solo5-elftool/issues" +doc: "https://roburio.github.io/ocaml-solo5-elftool/doc" +maintainer: [ "team@robur.coop" ] +authors: [ "Reynir Björnsson " ] +license: "BSD-2-Clause" + +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {wiht-test} +] + +depends: [ + "ocaml" + "dune" {>= "2.9"} + "owee" + "cstruct" + "fmt" + "cmdliner" +] + +pin-depends: [ + ["owee.dev" "git+https://github.com/let-def/owee.git"] +] + +synopsis: "OCaml Solo5 elftool for querying solo5 manifests" +description: """ +OCaml Solo5 elftool is a library and executable for reading solo5 device +manifests from solo5 ELF executables. +"""