blob: 1ab999dec3acf026b1341b77fece167bbaf3ff0c (
plain)
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
|
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Embed typed ASN.1 grammars in OCaml"
HOMEPAGE="
https://github.com/mirleft/ocaml-asn1-combinators
https://opam.ocaml.org/packages/asn1-combinators/
"
SRC_URI="https://github.com/mirleft/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
>=dev-ml/cstruct-6.0.0:=
dev-ml/ptime:=
dev-ml/zarith:=
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"
|