This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
forked from yallop/ocaml-ctypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctypes-foreign.opam
47 lines (41 loc) · 1.6 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
opam-version: "2.0"
version: "dev"
maintainer: "yallop@gmail.com"
homepage: "https://github.com/ocamllabs/ocaml-ctypes"
dev-repo: "git+http://github.com/ocamllabs/ocaml-ctypes.git"
bug-reports: "http://github.com/ocamllabs/ocaml-ctypes/issues"
depexts: [
["libffi-dev"] {os-family = "debian"}
["libffi"] {os = "macos" & os-distribution = "homebrew"}
["libffi"] {os = "macos" & os-distribution = "macports"}
["libffi-devel"] {os-distribution = "centos"}
["libffi-devel"] {os-distribution = "ol"}
["libffi"] {os = "win32" & os-distribution = "cygwinports"}
["libffi-devel"] {os-distribution = "fedora"}
["libffi-dev"] {os-distribution = "alpine"}
["libffi-devel"] {os-family = "suse"}
]
depends: [
"conf-pkg-config" {build}
]
tags: ["org:ocamllabs" "org:mirage"]
post-messages: [
"This package requires libffi on your system" {failure}
]
synopsis: "Virtual package for enabling the ctypes.foreign subpackage"
description: """
`ctypes-foreign` is just a virtual OPAM package that determines
whether the foreign subpackage should built as part of ctypes.
In order to actually get the ctypes package, you should also:
opam install ctypes ctypes-foreign
You can verify the existence of the ocamlfind subpackage by:
ocamlfind list | grep ctypes
Which should output something like:
ctypes (version: 0.4.1)
ctypes.foreign (version: 0.4.1)
ctypes.foreign.base (version: 0.4.1)
ctypes.foreign.threaded (version: 0.4.1)
ctypes.foreign.unthreaded (version: 0.4.1)
ctypes.stubs (version: 0.4.1)
ctypes.top (version: 0.4.1)"""
authors: "yallop@gmail.com"