Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 5621b2e

Browse files
committed
Add the autogenerated .opam file, to allow users to pin the repository directly from git
1 parent ca092dd commit 5621b2e

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ __pycache__
1111

1212
core
1313
vgcore.*
14-
*.opam

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Run `make docs` to generate documentation. Open
1515
auto-generated docs online:
1616
[API](https://calsign.github.io/ocaml-opencv/).
1717

18+
## Pinning the dev repo
19+
To build and insstall the package directly from the development
20+
repository, use
21+
`opam pin add opencv https://github.com/Calsign/ocaml-opencv.git`
22+
1823
## Goals
1924

2025
- Provide access to the full OpenCV API through OCaml

opencv.opam

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file is generated by dune, edit dune-project instead
2+
opam-version: "2.0"
3+
synopsis: "OCaml bindings for OpenCV"
4+
maintainer: ["William Smith"]
5+
authors: ["William Smith"]
6+
license: "LGPL-2.1-only"
7+
homepage: "https://github.com/Calsign/ocaml-opencv"
8+
bug-reports: "https://github.com/Calsign/ocaml-opencv/issues"
9+
depends: [
10+
"ctypes-foregin"
11+
"dune" {>= "2.7" & >= "2.7"}
12+
"owl"
13+
"odoc" {with-doc}
14+
]
15+
build: [
16+
["dune" "subst"] {dev}
17+
[
18+
"dune"
19+
"build"
20+
"-p"
21+
name
22+
"-j"
23+
jobs
24+
"@install"
25+
"@runtest" {with-test}
26+
"@doc" {with-doc}
27+
]
28+
]
29+
dev-repo: "git+https://github.com/Calsign/ocaml-opencv.git"

0 commit comments

Comments
 (0)