/
opam
38 lines (36 loc) · 1.23 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
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-x509"
dev-repo: "git+https://github.com/mirleft/ocaml-x509.git"
bug-reports: "https://github.com/mirleft/ocaml-x509/issues"
authors: [ "David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>" ]
maintainer: [ "Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>" ]
license: "BSD-2-Clause"
build: [
["./configure" "--prefix" prefix]
[make]
["./configure" "--%{ounit:enable}%-tests"] {with-test}
[make "test"] {with-test}
]
install: [ make "install" ]
remove: [ "ocamlfind" "remove" "x509" ]
depends: [
"ocaml" {>= "4.01.0"}
"ocamlfind"
"cstruct" {>= "1.2.0" & < "4.0.0"}
"type_conv"
"sexplib" {< "113.01.00"}
"asn1-combinators" {>= "0.1.1" & < "0.2.0"}
"nocrypto" {>= "0.5.0" & < "0.5.2"}
"ounit" {with-test}
"ocamlbuild" {build}
]
tags: [ "org:mirage" ]
synopsis: "X.509 certificate (RFC5280) library"
description: """
Library for X.509 certificate parsing, serialization and authentication.
Supports path validation (RFC5280) and hostname verification (RFC6125)."""
flags: light-uninstall
url {
src: "https://github.com/mirleft/ocaml-x509/archive/0.4.0.tar.gz"
checksum: "md5=d2d5f9eff8ef523e8f84ca226b1f5e0b"
}