-
Notifications
You must be signed in to change notification settings - Fork 95
/
ctypes-foreign.opam
46 lines (45 loc) · 1.22 KB
/
ctypes-foreign.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Dynamic access to foreign C libraries using Ctypes"
description: """
This installs the `ctypes-foreign` interface which
uses `libffi` to provide dynamic access to foreign libraries."""
maintainer: ["Jeremy Yallop <[email protected]>"]
authors: ["Jeremy Yallop"]
license: "MIT"
tags: ["org:mirage" "org:ocamllabs"]
homepage: "https://github.com/yallop/ocaml-ctypes"
doc: "https://yallop.github.io/ocaml-ctypes/"
bug-reports: "https://github.com/yallop/ocaml-ctypes/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.03.0"}
"integers" {with-test & >= "0.2.2"}
"ctypes" {= version}
"dune-configurator"
"conf-pkg-config"
"lwt" {with-test & >= "2.4.7"}
"ounit2" {with-test}
"conf-ncurses" {with-test}
"stdlib-shims" {with-test}
"conf-fts" {with-test & os != "win32"}
"conf-libffi" {>= "2.0.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/yallop/ocaml-ctypes.git"