This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
opam
49 lines (49 loc) · 1.45 KB
/
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
47
48
49
opam-version: "1.2"
name: "sodium"
version: "dev"
maintainer: "[email protected]"
authors: [
"David Sheets <[email protected]>"
"Peter Zotov <[email protected]>"
"Benjamin Canou <[email protected]>"
]
homepage: "https://github.com/dsheets/ocaml-sodium/"
bug-reports: "https://github.com/dsheets/ocaml-sodium/issues/"
dev-repo: "https://github.com/dsheets/ocaml-sodium.git"
tags: ["org:mirage"]
build: [
[make] { os != "freebsd" }
[make "CFLAGS=-I/usr/local/include -L/usr/local/lib"] { os = "freebsd" }
]
install: [
[make "PREFIX=%{prefix}%" "install"]
]
build-test: [
[make "test"] { os != "freebsd" }
[make "CFLAGS=-I/usr/local/include -L/usr/local/lib" "test"] { os = "freebsd" }
]
remove: [["ocamlfind" "remove" "sodium"]]
depends: [
"base-bigarray"
"base-bytes"
"ocamlfind" {build}
"ocamlbuild" {build}
"ctypes" {>= "0.6.0"}
]
depexts: [
[ ["debian"] ["libsodium-dev"] ]
[ ["ubuntu"] ["libsodium-dev"] ]
[ ["freebsd"] ["security/libsodium"] ]
[ ["osx" "homebrew"] ["libsodium"] ]
]
post-messages: [
"This package requires installation of libsodium-dev (>= 1.0.9)"
{ failure & os = "debian" }
"This package requires installation of libsodium-dev (>= 1.0.9)"
{ failure & os = "ubuntu" }
"This package requires installation of security/libsodium (>= 1.0.9)"
{ failure & os = "freebsd" }
"This package requires installation of libsodium (>= 1.0.9)"
{ failure & os = "osx" }
]
available: [ocaml-version >= "4.01.0"]